@Override public Point computeSize(int wHint, int hHint, boolean changed) { Layout layout = getLayout(); if (layout instanceof TableWrapLayout) return ((TableWrapLayout) layout).computeSize(this, wHint, hHint, changed); if (layout instanceof ColumnLayout) return ((ColumnLayout) layout).computeSize(this, wHint, hHint, changed); return super.computeSize(wHint, hHint, changed); } }
cwidth += horizontalSpacing; Point size = computeSize(td.childIndex, cwidth, td.indent, td.maxWidth, td.maxHeight); td.compWidth = cwidth; if (td.heightHint != SWT.DEFAULT) {
Point size = computeSize(td.childIndex, cwidth, td.indent, td.maxWidth, td.maxHeight); cy = size.y;