Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "15 Layout"
m (15. Layout. moved to 15 Layout) |
|
(No difference)
|
Revision as of 20:31, 8 January 2007
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