SHorizontalBox

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

Examples

Example 1:

    "SHorizontalBox": 
    {
        "Slots": [
            {
                "STextBlock":
                {
                    "Text": "SBreadcrumbTrail"
                }
            },
            {
                "Padding": [10, 0],
                "SButton":
                {
                    "Text": "Add",
                    "HAlign": "Center",
                    "VAlign": "Center",
                    "OnClick": "gallery.push_breadcrumb()"
                }
            }
        ]
    }

Back to Support Slates