Community
Participate
Working Groups
Scrollable table = getControl(composite);
int tableWidth = table.getSize().x;
int trim = computeTrim(area, table, tableWidth);
int width = Math.max(0, area.width - trim);
int width;
if( table.getVerticalBar().isVisible() ) {
width = Math.max(0, area.width - trim - table.getVerticalBar().getSize().x);
} else {
width = Math.max(0, area.width - trim);
}
if (width > 1)
layoutTableTree(table, width, area, tableWidth < area.width);