unreal.StackBoxSlot

class unreal.StackBoxSlot(outer: Optional[Object] = None, name: Union[Name, str] = 'None')

Bases: PanelSlot

The Slot for the UStackBox, contains the widget that is flowed vertically or horizontally.

C++ Source:

  • Module: UMG

  • File: StackBoxSlot.h

Editor Properties: (see get_editor_property/set_editor_property)

  • horizontal_alignment (HorizontalAlignment): [Read-Write] Horizontal Alignment: The alignment of the object horizontally.

  • padding (Margin): [Read-Write] Padding: The padding area between the slot and the content it contains.

  • size (SlateChildSize): [Read-Write] Size: How much space this slot should occupy in the direction of the panel.

  • vertical_alignment (VerticalAlignment): [Read-Write] Vertical Alignment: The alignment of the object vertically.

property horizontal_alignment: HorizontalAlignment

[Read-Write] Horizontal Alignment: The alignment of the object horizontally.

Type:

(HorizontalAlignment)

property padding: Margin

[Read-Write] Padding: The padding area between the slot and the content it contains.

Type:

(Margin)

property size: SlateChildSize

[Read-Write] Size: How much space this slot should occupy in the direction of the panel.

Type:

(SlateChildSize)

property vertical_alignment: VerticalAlignment

[Read-Write] Vertical Alignment: The alignment of the object vertically.

Type:

(VerticalAlignment)