SVerticalBox¶
| Property | Type | Note |
|---|---|---|
| Aka | String | Name for the widget |
| Slots | Array | The array which contain children widgets |
| ToolTipText | String | |
| Visibility | Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All | |
| AutoHeight | Bool | |
| HAlign | String | Enum:EHorizontalAlignment: Fill, Left, Center, Right. |
| VAlign | String | Enum:EVerticalAlignment: Fill, Top, Center, Bottom. Has no effect when AutoHeight == True |
| ### functions what can be called from ChameleonData | ||
| FunctionName | Description | |
| :--- | :---- | :---- |
| append_slot_from_json | Add a child widget through the content of the JSON string. It's for the widget which has 'Slots'. | |
| insert_slot_from_json | Add a child widget at Specified slot through the content of the JSON string. | |
| remove_widget_at | Remove a child widget at Specified slot or widget. |
Examples¶
Example 1:
"SVerticalBox":
{
"Slots": [
{
"padding": 2,
"SButton": {
"Text": "Button A"
}
},
{
"padding": 2,
"SButton": {
"Text": "Button B"
}
}
]
}