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

Bases: unreal.PanelSlot

The Slot for the UBorderSlot, contains the widget displayed in a border’s single slot

C++ Source:

  • Module: UMG

  • File: BorderSlot.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.

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

set_horizontal_alignment(horizontal_alignment) None

Set Horizontal Alignment


horizontal_alignment (HorizontalAlignment) –

set_padding(padding) None

Set Padding


padding (Margin) –

set_vertical_alignment(vertical_alignment) None

Set Vertical Alignment


vertical_alignment (VerticalAlignment) –