Spacer: Difference between revisions
Jump to navigation
Jump to search
m (Bot (Edward's framework)) |
(No difference)
|
Latest revision as of 12:57, 16 August 2009
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.