unreal.HorizontalBoxSlot

class unreal.HorizontalBoxSlot(outer: Object | None = None, name: Name | str = 'None')

Bases: PanelSlot

Horizontal Box Slot

C++ Source:

  • Module: UMG

  • File: HorizontalBoxSlot.h

Editor Properties: (see get_editor_property/set_editor_property)

  • horizontal_alignment (HorizontalAlignment): [Read-Write]

  • padding (Margin): [Read-Write] The amount of padding between the slots parent and the content.

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

  • vertical_alignment (VerticalAlignment): [Read-Write]

property horizontal_alignment: HorizontalAlignment

[Read-Write]

Type:

(HorizontalAlignment)

property padding: Margin

[Read-Write] The amount of padding between the slots parent and the content.

Type:

(Margin)

set_horizontal_alignment(horizontal_alignment) None

Set Horizontal Alignment

Parameters:

horizontal_alignment (HorizontalAlignment) –

set_padding(padding) None

Set Padding

Parameters:

padding (Margin) –

set_size(size) None

Set Size

Parameters:

size (SlateChildSize) –

set_vertical_alignment(vertical_alignment) None

Set Vertical Alignment

Parameters:

vertical_alignment (VerticalAlignment) –

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]

Type:

(VerticalAlignment)