FlowLayout
FlowLayout Functions
| getSpacerSize | FlowLayout.getSpacerSize( ) | Horizontal spacing between adjacent controls. |
| setSpacerSize | FlowLayout.setSpacerSize( spacerSize ) | Horizontal spacing between adjacent controls. |
| getVerticalAlignment | FlowLayout.getVerticalAlignment( ) | Vertical alignment for all child content. |
| setVerticalAlignment | FlowLayout.setVerticalAlignment( verticalAlignment ) | Sets the Vertical alignment for all child content. |
Compared to no layout, Flow Layout offers the following features:
- Block controls are positioned in the flow and will not start on a new line
- Layout properties of vertical alignment and gap between controls can be specified
Many controls (e.g. Titled Panel, Grid, Table) are block controls meaning that the HTML/XHTML generated are block elements and will normally start on a new line in the browser. When placed inside a Flow Layout however, these block controls will be positioned within the normal flow i.e. they will only start on a new line when the browser window is not wide enough to accommodate them.Further documentation.