Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 215997
Collapse All | Expand All

(-)src/org/eclipse/jface/layout/AbstractColumnLayout.java (-1 / +7 lines)
Lines 234-240 Link Here
234
		Scrollable table = getControl(composite);
234
		Scrollable table = getControl(composite);
235
		int tableWidth = table.getSize().x;
235
		int tableWidth = table.getSize().x;
236
		int trim = computeTrim(area, table, tableWidth);
236
		int trim = computeTrim(area, table, tableWidth);
237
		int width = Math.max(0, area.width - trim);
237
		int width;
238
		
239
		if( table.getVerticalBar().isVisible() ) {
240
			width = Math.max(0, area.width - trim - table.getVerticalBar().getSize().x);
241
		} else {
242
			width = Math.max(0, area.width - trim);
243
		}
238
244
239
		if (width > 1)
245
		if (width > 1)
240
			layoutTableTree(table, width, area, tableWidth < area.width);
246
			layoutTableTree(table, width, area, tableWidth < area.width);

Return to bug 215997