Interface IOptions

An options object for initializing a box panel.

Hierarchy

  • IOptions

Properties

alignment?: BoxLayout.Alignment

The content alignment of the panel.

The default is 'start'.

direction?: BoxLayout.Direction

The layout direction of the panel.

The default is 'top-to-bottom'.

layout?: BoxLayout

The box layout to use for the box panel.

If this is provided, the other options are ignored.

The default is a new BoxLayout.

spacing?: number

The spacing between items in the panel.

The default is 4.

Generated using TypeDoc