SHorizontalBox¶
Property | Type | Note |
---|---|---|
Aka | String | Name for the widget |
Padding | Number or Number Array (Length = 2 or 4) | |
Slots | Array | The array which contain children widgets |
ToolTipText | String | |
Visibility | Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All | |
AutoWidth | Bool | |
HAlign | String | Enum:EHorizontalAlignment: Fill, Left, Center, Right. Has no effect when AutoWidth == True |
VAlign | String | Enum:EVerticalAlignment: Fill, Top, Center, Bottom |
### Examples |
Example 1:
"SHorizontalBox":
{
"Slots": [
{
"STextBlock":
{
"Text": "SBreadcrumbTrail"
}
},
{
"Padding": [10, 0],
"SButton":
{
"Text": "Add",
"HAlign": "Center",
"VAlign": "Center",
"OnClick": "gallery.push_breadcrumb()"
}
}
]
}