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"
Line 1: | Line 1: | ||
[[Comparison SWT / RWT|back to table of content]] | [[Comparison SWT / RWT|back to table of content]] | ||
+ | |||
+ | 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?=== | ===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 | + | ===Class Layout=== |
+ | identical | ||
− | ===Layout Data | + | ===Layout Data=== |
+ | identical | ||
− | ===Class FillLayout | + | ===Class FillLayout=== |
+ | identical | ||
− | ===Classes RowLayout and RowData | + | ===Classes RowLayout and RowData=== |
+ | identical | ||
− | ===Class GridLayout | + | ===Class GridLayout=== |
+ | identical | ||
− | ===Defining the Grid | + | ===Defining the Grid=== |
+ | identical | ||
− | ===Class FormLayout | + | ===Class FormLayout=== |
+ | identical | ||
− | ===Assigning Width and Height Hints | + | ===Assigning Width and Height Hints=== |
+ | identical | ||
===Which Layout Should I Use?=== | ===Which Layout Should I Use?=== | ||
+ | see the swt book ;-) | ||
− | ===Forcing a Layout | + | ===Forcing a Layout=== |
+ | identical | ||
− | ===Forcing Controls to Wrap | + | ===Forcing Controls to Wrap=== |
+ | identical |
Revision as of 13:50, 8 January 2007
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.
Contents
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