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
horizontal_alignment

(HorizontalAlignment) – [Read-Only] Horizontal Alignment

padding

(Margin) – [Read-Only] The amount of padding between the slots parent and the content.

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) –
size

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

vertical_alignment

(VerticalAlignment) – [Read-Only] Vertical Alignment