clientWidthHint -= tbsize.x + SPACING; clsize = computeSize(clientCache, clientWidthHint); tsize = computeSize(titleRegionCache, flexWidth); } else {
@Override public int computeMinimumWidth(Composite composite, boolean flushCache) { return computeSize(composite, 5, SWT.DEFAULT, flushCache).x; }
@Override public int computeMaximumWidth(Composite composite, boolean flushCache) { return computeSize(composite, SWT.DEFAULT, SWT.DEFAULT, flushCache).x; }
/** * Fully delegates the size computation to the internal layout manager. */ @Override public final Point computeSize(int wHint, int hHint, boolean changed) { return ((FormHeadingLayout) getLayout()).computeSize(this, wHint, hHint, changed); }
/** * Fully delegates the size computation to the internal layout manager. */ @Override public final Point computeSize(int wHint, int hHint, boolean changed) { return ((FormHeadingLayout) getLayout()).computeSize(this, wHint, hHint, changed); }
@Override public int computeMaximumWidth(Composite composite, boolean flushCache) { return computeSize(composite, SWT.DEFAULT, SWT.DEFAULT, flushCache).x; }