Spacer

From VisionaireWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.