Widget
Client
Server
Methods
Widget Set(table properties)
Widget WidgetByName(string name)
Properties
string type
integer id
boolean destroyed
Widget parent
Window window
table children
integer childCount
boolean hasChildren
Widget next
Widget prev
boolean isWindow
boolean isContainer
boolean isSelected
string name
string tooltip
boolean visible
boolean enabled
Vec2 size
string sizing
string sizingX
string sizingY
Vec2 pos
string posType
boolean overflow
boolean endLine
integer siblingIndex
Vec2 padding
string paddingMode
number rounding
string roundingMode
integer roundCorners
boolean glyphFade
Vec2 margin
string marginMode
Vec2 gap
Spacing between sibling widgets (x) and between wrapped flow lines (y).
string alignItems
Cross-axis alignment of child widgets: start/center/end/stretch.
string alignSelf
Overrides the parent's alignItems for this widget (auto inherits).
string justifyContent
Main-axis distribution of children: start/center/end/space-between/space-around.