| Summary: | Deferred layouts can cause controls to not get a layout data set on them | ||
|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Remy Suen <remy.suen> |
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pwebster, sxenos |
| Version: | 3.7 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Remy Suen
I can't find anything in the JavaDoc which promises that invocations of layout will attach layout data to the child widgets. I would also recommend against making such a promise in the future since doing so would complicate the already-complicated layout system even more. Also, third-party layouts which currently don't attach data to their children would break such a promise. It is very easy for clients to invoke setLayoutData themselves if they want getLayoutData() to be non-null. |