Orientation: PP.Orientation
The Orientation property sets orientation for the ToolBar component.
By default the component is oriented horizontally.
Executing the example requires the ToolBar component named toolBar (see Example of Creating the ToolBar Component).
Before executing the example the component looked as follows:
Set vertical orientation:
toolBar.setOrientation(PP.Orientation.Vertical);
After executing the example the component looks as follows:
See also: