To insert spacing or a line between components in a flowLayout or stackLayout:
The separator or spacer node is inserted under the expanded separator named child node.
Note: To use data binding, see Data Binding a Component Attribute.
...
<pageLayout>
<!-- Arrange child components horizontally -->
<flowLayout>
<separator>
<spacer height="10" width="10"/>
</separator>
<contents>
<image/>
<image/>
</contents>
</flowLayout>
<!-- Arrange child components vertically -->
<stackLayout>
<separator>
<separator/>
</separator>
<contents>
<image/>
<image/>
</contents>
</stackLayout>
<!-- REST OF PAGE LAYOUT -->
</pageLayout>
...
About FlowLayout and StackLayout
About Spacer and Separator
Arranging Components Horizontally or
Vertically Using FlowLayout or StackLayout
Working with Layout Components
Copyright © 1997, 2004, Oracle. All rights reserved.