a horizontal (on the main toolbar pane) or vertical (on the Select Button's drop-down pane) line separating groups of items from each other:
A new Separator can be created by calling the addSeparator method:
myToolbar.addSeparator(id, pos);
This method has two input parameters:
Related sample: Separator creation
The following methods that are available for the Button item, can be applied to the Separator as well:
Related sample: Separator manipulation
All the parameters of the above mentioned methods are the same to those described in Button Settings Manipulations section.
Back to top