Layout
Layout are used to simplify the placement of widgets by using a grid system and modifying children position automatically.
How to Initialize any Layout?
To use layouts you have to call it from the function AddLayout from Widgets.
Class Details
Functions:
Initialization & Main Functions
Name |
Arguments |
Return |
Description |
Init |
|
VOID |
This function setter main variable |
Launch |
|
VOID |
Launch will automatically call the Update function to make sure every children widgets are properly displayed. |
Setters Functions
Name |
Arguments |
Return |
Description |
SetWidth |
|
None |
Set the width of each children widgets. By using this you forcing the placement and might be overflow, if you're not using it will it evenly separate children from owner size. |
SetHeight |
|
None |
Set the height of each children widgets. By using this you forcing the placement and might be overflow, if you're not using it will it evenly separate children from owner size. |
SetVerticalSpace |
|
None |
Set the vertical space of each children widgets. By using this you forcing the placement and might be overflow, if you're not using it will it evenly separate children from owner size. |
SetHorizontalSpace |
|
None |
Set the horizontal space of each children widgets. By using this you forcing the placement and might be overflow, if you're not using it will it evenly separate children from owner size. |
Private Details
All private details are usable but its recommended to not use any of those. It might modify the proper functioning of the class.
Variables (Members):
Main Members
Name |
Type |
Default Value |
Description |
owner |
undefined |
Owner of this layout. |
|
type |
undefined |
Hold the layout type. |
|
data |
Class |
{} |
Class build by setters to hold information. |
Functions:
Update Functions
Name |
Arguments |
Return |
Description |
Update |
|
None |
This function will recalculate all size and position for all children widgets. |
Compatibility
LANGUAGE CLASS: Not compatible.
Created with the Personal Edition of HelpNDoc: Easily create Help documents