Skip to content

Commit

Permalink
Remember column widths
Browse files Browse the repository at this point in the history
  • Loading branch information
parg committed Dec 28, 2024
1 parent c769fc9 commit e87cf9b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,10 @@ private TableViewSWT<TableColumn> createTVAvail() {
if (column != null) {
column.setVisible(true);
column.setPositionNoShift(i);
column.setWidth(widths[i]);
int existing = column.getWidth();
if ( existing < widths[i] ){
column.setWidth(widths[i]);
}
}
}

Expand Down

0 comments on commit e87cf9b

Please sign in to comment.