Tag name: <amc:spacer>
The Spacer occupies a fixed amount of space in a layout,
specified by its width and height attributes. It is possible to specify
only one
A Spacer component running on Windows Mobile.
<amc:panelGroupLayout layout="horizontal" id="pgl2"> <amc:outputText value="text followed by a spacer" id="ot2"/> <amc:spacer width="20" id="s2"/> <amc:outputText value="more text" id="ot3"/> </amc:panelGroupLayout>
Name | Type | Supports EL? | Description |
---|---|---|---|
height | int | Yes | Specifies the height of the component. Can be entered in pixels or as a percentage of its parent's height. A percentage value should be entered as a number followed by the "%" symbol. A number will be interpreted as a pixel value (as will a number followed by the text "px"). |
id | String | No |
Specifies the identifier for the component. The identifier must follow the following rules:
|
rendered | boolean | Yes | Specifies whether or not the component is rendered. When set to false, no output will be delivered for this component (the component will not in any way be rendered, and cannot be made visible). |
width | int | Yes | Specifies the width of this component. Can be entered in pixels or as a percentage of its parent's width. A percentage value should be entered as a number followed by the "%" symbol. A number will be interpreted as a pixel value (as will a number followed by the text "px"). |