Project: SWT
Bug 89687 computeSize(-1, -1) wrong for Text with SWT.Wrap.
Reported: 2005-03-30 15:59:33 | Status: resolved fixed

Eclipse 3.1 M6 Run the ControlExample and go to the Text tab. Make the size 50 by 50. Now make the size Preferred. The preferred size of the text seems to be based on its current size. The preferred default size should just be one line.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java