SSplitter¶
| Property |
Type |
Note |
| Aka |
String |
Name for the widget |
| FractionOfParent |
|
|
| MinSizeValue |
Number |
|
| Orientation |
String |
Enum: EOrientation: Vertical, Horizontal |
| PhysicalSplitterHandleSize |
Number |
|
| ResizeMode |
String |
Enum: ESplitterResizeMode: FixedPosition, FixedSize, Fill |
| SizeRule |
|
|
| SizeToContent |
|
|
| Slots |
Array |
The array which contain children widgets |
| ToolTipText |
String |
|
| Value |
Number |
|
| Visibility |
Enum: EVisibility: Visible, Collapsed, Hidden, HitTestInvisible, SelfHitTestInvisible, All |
|
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'. |
|
| remove_widget_at |
Remove a child widget at Specified slot or widget. |
|
Examples¶
Example 1:
"SSplitter": {
"Orientation": "Horizontal",
"PhysicalSplitterHandleSize": 4,
"ResizeMode": "FixedPosition",
"Slots": [
{
"Value": 0.4,
"SButton": {
"Text": "ButtonA"
}
},
{
"Value": 0.6,
"SButton": {
"Text": "ButtonB"
}
}
]
}