unreal.StackBoxSlot

class unreal.StackBoxSlot(outer: Object | None = None, name: 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] The alignment of the object horizontally.

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

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

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

property horizontal_alignment: HorizontalAlignment

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

Type:

(HorizontalAlignment)

property padding: Margin

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

Type:

(Margin)

property size: SlateChildSize

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

Type:

(SlateChildSize)

property vertical_alignment: VerticalAlignment

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

Type:

(VerticalAlignment)