| Summary: | Label with size hint {0, 0} layouted to {64, 64} | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Curtis Windatt <curtis.windatt.public> | ||||
| Component: | SWT | Assignee: | Bogdan Gheorghe <gheorghe> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | daniel_megert, eclipse.felipe, gheorghe, markus.kell.r, Michael_Rennie | ||||
| Version: | 3.8 | ||||||
| Target Milestone: | 3.8 M6 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux-GTK | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
The fix for bug 351494 in Control#computeNativeSize(..) has caused this bug. To leave some space in the GridLayout, we create an empty Label with hHint=0. At the end of computeNativeSize(..), the width and height get wrongly set to 64. They must stay at 0 in this case. Bug 357559 fixed a similar problem in ToolBar, but Control#computeSize(..) is still broken for other kinds of controls. |
Created attachment 209694 [details] Screenshot of dialog with space Version: 4.2.0 Build id: I20111230-1130 Ubuntu linux. Resizing the wizard dialog does not change the excess space in the layout. See the attached screenshot. Mike reports the same issue using a more recent build in Linux Mint I20120117-2200