Index: src/org/eclipse/ui/forms/widgets/Section.java =================================================================== RCS file: /home/eclipse/org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/Section.java,v retrieving revision 1.6 diff -u -r1.6 Section.java --- src/org/eclipse/ui/forms/widgets/Section.java 12 Apr 2004 22:31:31 -0000 1.6 +++ src/org/eclipse/ui/forms/widgets/Section.java 21 Jun 2004 18:28:31 -0000 @@ -275,16 +275,16 @@ Point tsize = null; Point tcsize = null; if (toggle != null) - tsize = toggle.computeSize(SWT.DEFAULT, SWT.DEFAULT, true); + tsize = toggle.getSize(); int twidth = bounds.width - marginWidth - marginWidth; if (tsize != null) twidth -= tsize.x + GAP; if (getTextClient() != null) tcsize = getTextClient() - .computeSize(SWT.DEFAULT, SWT.DEFAULT, true); + .getSize(); if (tcsize != null) twidth -= tcsize.x + GAP; - Point size = textLabel.computeSize(twidth, SWT.DEFAULT, true); + Point size = textLabel.getSize(); int tvmargin = GAP; int theight = 0; if (tsize != null)