path.setText(selectedDir.getFullPath());
}
}
+ for (TreeColumn column : pathTree.getColumns())
+ column.pack();
}
});
}
// table is getting smaller so make the columns
// smaller first and then resize the table to
// match the client area width
- //nameColumn.setWidth(width);
- nameColumn.pack();
+ nameColumn.setWidth(width);
pathTree.setSize(area.width, area.height);
} else {
// table is getting bigger so make the table
// bigger first and then make the columns wider
// to match the client area width
pathTree.setSize(area.width, area.height);
- //nameColumn.setWidth(width);
- nameColumn.pack();
+ nameColumn.setWidth(width);
}
}
});