An element that takes up space but does not display anything. It is usually used to place spacing within a container. If you don't specify that the spacer has a size or is flexible, the spacer does not occupy any space. If you want a small gap, consider using a separator
instead.
More information is available in the XUL tutorial.
Examples
<box> <button label="Left"/> <spacer flex="1"/> <button label="Right"/> </box>
Attributes
Inherited from XUL element |
Properties
Inherited Properties |
Methods
Related