The <spacer> Tag

The <spacer> tag creates an empty area of fixed size.

Parameters

Name Description Legal Values Default
orientation The direction in which this component's size is fixed. If a direction besides both is chosen, the component has the given size in the given direction, and size zero in the other direction.
  • both
  • horz
  • vert

vert

Also see common parameters.

Contents

none

Example

<box orientation="vert">
<box orientation="horz">
<label text="A"/>
<spacer orientation="horz" size="10"/>
<label text="B"/>
<spacer orientation="horz" size="20"/>
<label text="C"/>
<glue/>
</box>
<box orientation="horz">
<label text="D"/>
<spacer orientation="vert" size="40"/>
<label text="E"/>
<spacer orientation="horz" size="20"/>
<label text="F"/>
<glue/>
</box>
</box>