flowLayoutまたはstackLayoutでコンポーネント間にスペースまたはセパレータを挿入するには、次のようにします。
「separator」ノードまたは「spacer」ノードが、展開された「separator-名前付きの子」ノードに挿入されます。
注意: データ・バインディングの使用は、「コンポーネント属性のデータ・バインディング」を参照してください。
...
<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>
...
flowLayoutとstackLayoutについて
spacerとseparatorについて
flowLayoutまたはstackLayoutを使用したコンポーネントの水平方向または垂直方向の配置
レイアウト・コンポーネントの使用
Copyright © 1997, 2004, Oracle. All rights reserved.