LayoutWidget - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki
Inherits from VisibleWidget
Attributes (layout)
Name |
Type |
Default |
Description |
Req |
width |
int / % |
|
The width of the widget. |
|
height |
int / % |
|
The height of the widget. |
|
maxwidth |
int / % |
Infinity |
The maximum width of the widget. Used when width/height is a % or null. |
|
maxheight |
int / % |
Infinity |
The maximum height of the widget. Used when width/height is a % or null. |
|
minwidth |
int / % |
0 |
The minimum width of the widget. Used when width/height is a % or null. |
|
minheight |
int / % |
0 |
The minimum height of the widget. Used when width/height is a % or null. |
|
data |
id |
|
The datasource id used to create multiple children from the prototype child. |
|
Attributes (alignment)
Name |
Primary Attribute |
Description |
start |
halign, valign |
Aligns children at the start end of the axis. |
end |
halign, valign |
Aligns children at the end of the axis. |
center |
halign, valign |
Aligns children in the center end of the axis. |
Attributes (spacing)
Name |
Primary Attribute |
Description |
between |
halign |
Places the free space evenly between the children along the horizontal axis. |
around |
halign |
Places the free space evenly between the children as well as half of that space before and after the first and last child along the horizontal axis. |
evenly |
halign |
Places the free space evenly between the children as well as before and after the first and last child along the horizontal axis. |
For in-depth examples and full applications, visit fml.dev!
Other Widgets You May Find Useful: