Project: SWT
Bug 275979 Group computeSize wrong
Reported: 2009-05-12 18:26:27 | Status: resolved fixed

Build ID: I20090430-2300 Steps To Reproduce: 1. Install Cocoa version of Eclipse on Mac 2. Eclipse > Preferences, Plug-in Development, Target Platform 3. Click "Running Platform" line, then click"Edit..." 4. Click "Environment" tab Actual result: The group box at the bottom of the dialog, labeled "Java Runtime Environment," is laid out incorrectly: It is truncated at the bottom. The moment you begin to resize the dialog, it lays out correctly. See cocoa-screenshot.png. Expected result: Dialog lays out correctly, as it does if you run the Carbon version of Eclipse. See carbon-screenshot.png.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Group.java