clientside/amplesdk — Issue #94: XUL: Feature request: toolbarspacer and toolbarspring
Author: h6w
Created: 2011-10-12 16:27:32+00:00
State: open

According to https://developer.mozilla.org/en/XUL/toolbarseparator ,toolbarseparator "is functionally equivalent to a normal separator but some themes may apply a different appearance." A toolbarseparator currently uses a vertical bar to separate the toolbaritems.

Toolbarspacer elements, by contrast are " A space between toolbar items." which makes them similar to toolbarseparator elements, but without the visual bar.

Consequently, toolbarspring is the same as a toolbarspacer with flex="1".

Toolbarspacer or toolbarspring are needed in the use-case where you want two toolbarbuttons at opposite ends of the toolbar, which happens frequently in most UIs.