ToolBar.Orientation

Syntax

Orientation: PP.Orientation

Description

The Orientation property sets orientation for the ToolBar component.

Comments

By default the component is oriented horizontally.

Example

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:

ToolBar