Home > Element Reference : Toolbarseparator

Contents

### Toolbarseparator

Creates a separator between a group of toolbar buttons. It is functionally equivalent to a normal separator but some skins may apply a different appearance.

#### Attributes:

Attributes inherited from XUL Element

crop

If the label of the toolbarseparator is too small to fit in its given space, the text will be cropped on the side specified by the crop attribute. An ellipsis will be placed in place of the cropped text. If the box direction is right to left (rtl), the cropping is reversed.

- start: The text will be cropped on its left side.
- end: The text will be cropped on its right side.
- left: (Deprecated) The text will be cropped on its left side.
- right: (Deprecated) The text will be cropped on its right side.
- center: The text will be cropped on both sides.
- none: The text will be not be cropped using an ellipsis. However, the text will simply be cut off if it is too large. The side depends on the CSS text alignment.

flex

Indicates the flexibility of the toolbarseparator. Flexible elements grow and shrink to fit their given space. The actual value is not relevant unless there are other flexible elements within the same container. Elements with larger flex values will grow more than elements with lower flex values, at the ratio determined by the two elements.

height

The height of the toolbarseparator in pixels. It is recommended that the CSS height property be used instead.

label

The label that will appear on the toolbarseparator. If this is left out, no text appears.

left

For elements placed within a stack, specifies the position of the left edge of the toolbarseparator.

maxheight

The maximum height of the toolbarseparator. This corresponds to the max-height CSS property.

maxwidth

The maximum width of the toolbarseparator. This corresponds to the max-width CSS property.

minheight

The minimum height of the toolbarseparator. This corresponds to the min-height CSS property.

minwidth

The minimum width of the toolbarseparator. This corresponds to the min-width CSS property.

orient

Used to specify whether the children of the toolbarseparator are oriented horizontally or vertically. The default value depends on the element. You can also use the '-moz-box-orient' style property.

- horizontal: Child elements of the toolbarseparator are placed next to each other in a row in the order that they appear in the XUL source.
- vertical: Child elements of the toolbarseparator are placed under each other in a column in the order that they appear in the XUL source.

top

For elements placed within a stack, specifies the position of the top edge of the toolbarseparator.

width

The width of the toolbarseparator in pixels. It is recommended that the CSS width property be used instead.

#### Properties and Methods:

Properties and Methods inherited from XUL Element

Copyright (C) 1999 - 2002 XULPlanet.com