< north | south | east | west | center />
< north | south | east | west | center />
Multi-panel view assemblies are implemented without frames, using the Layout Manager. An individual layout can contain up to 5 regions: north, south, east, west, and center. Regions that are not specified will not be displayed. Many options for the look and behavior of individual regions can be defined in the layout.
<layout type="borderLayout" id="mainLayout">
<north autoScroll="true" split="true" initialSize="300" minSize="100"/>
<center/>
</layout>
Enclosing Element:
This tag is a
direct child of the
<layout>
element.
Encloses: This tag d oes not enclose any child elements.
Attributes
Attribute | Description | Valid Values | Optional |
---|---|---|---|
id |
Specifies an id for a layout region. Used by a panel to specify its
layoutRegion
|
a string unique within the view | yes |
autoScroll | Specifies whether the scroll bar should be displayed |
|
yes |
split |
Specifies whether the split bar should be displayed. Defaults to
true
.
|
=
|
yes |
initialSize | Specifies the initial size of the layout region | size in pixels or % | yes |
minSize | Specifies the minimum size of the layout region | size in pixels | yes |
maxSize | Specifies the maximum size of the layout region | size in pixels | yes |