Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
15 Layout
Revision as of 16:35, 10 January 2007 by Rherrmann.innoopract.com (Talk | contribs) (→Which Layout Should I Use?)
Contents
- 1 Layout
- 1.1 When Are Layouts Invoked?
- 1.2 Class Layout
- 1.3 Layout Data
- 1.4 Class FillLayout
- 1.5 Classes RowLayout and RowData
- 1.6 Class GridLayout
- 1.7 Defining the Grid
- 1.8 Class FormLayout
- 1.9 Assigning Width and Height Hints
- 1.10 Which Layout Should I Use?
- 1.11 Forcing a Layout
- 1.12 Forcing Controls to Wrap
Layout
We use the exact same layout code (there are some minimal differences) as SWT does. Layout behavior is identical. Please create a bug report if you experience differences in layouting between RWT and SWT.
There is an implementation gap around the calculation of the preferred size right now, see 4._Control_Fundamentals.#Preferred_Size.
When Are Layouts Invoked?
The implementation of when layouts are invoked is preliminary in RWT. It does the job right now but expect some changes.
Class Layout
identical
Layout Data
identical
Class FillLayout
identical
Classes RowLayout and RowData
identical
Class GridLayout
identical
Defining the Grid
identical
Class FormLayout
identical
Assigning Width and Height Hints
identical
Which Layout Should I Use?
see the SWT book ;-)
Forcing a Layout
identical
Forcing Controls to Wrap
identical