unreal.HorizontalBoxSlot

class unreal.HorizontalBoxSlot(outer=None, name='None')

Bases: unreal.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] Horizontal Alignment

  • 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] Vertical Alignment

property horizontal_alignment

[Read-Only] Horizontal Alignment

Type

(HorizontalAlignment)

property padding

[Read-Only] 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

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

Type

(SlateChildSize)

property vertical_alignment

[Read-Only] Vertical Alignment

Type

(VerticalAlignment)