Spacer

From VisionaireWiki
Revision as of 11:57, 16 August 2009 by Alex (talk | contribs) (Bot (Edward's framework))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.