SUniformGridPanel

SUniformGridPanel

Property Type Note
Aka String Name for the widget
MinDesiredSlotHeight Number
MinDesiredSlotWidth Number
SlotPadding 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:

    "SUniformGridPanel": {
        "Slots": [
            {
                "Column_Row": [0, 0],
                "SButton": {
                    "Text": "Tile 0_0",
                    "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                }
            },
            {
                "Column_Row": [1, 0],
                "SButton": {
                    "Text": "Tile 1_0",
                    "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                }
            },
            {
                "Column_Row": [2, 0],
                "SButton": {
                    "Text": "Tile 2_0",
                    "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                }
            },
            {
                "Column_Row": [0, 1],
                "SButton": {
                    "Text": "Tile 0_1",
                    "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                }
            },
            {
                "Column_Row": [1, 1],
                "SButton": {
                    "Text": "Tile 1_1",
                    "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                }
            },
            {
                "Column_Row": [2, 1],
                "SButton": {
                    "Text": "Tile 2_1",
                    "ButtonColorAndOpacity": [1, 1, 1, 0.5]
                }
            }
        ]
    }

Back to Support Slates