Spacer

From VisionaireWiki
Jump to: navigation, search

spacer

Creates a spacer.

The spacer can be used to fill space in a layout.

Lua Syntax:

spacer({flags=1, 
    size = {x=int,y=int}, 
    proportion = int})

Arguments

Flags

sz/size

Dimension of the spacer which will be added to the current layout.

p/proportion

Stretch factor of the spacer which will be added to the current layout. If 0 then the size of the spacer will not be changed. Otherwise the spacer will be stretched in the same ratio as other controls with the same proportion.Default is 1.

Return Values

None.