unreal.ButtonSlot
¶
- class unreal.ButtonSlot(outer: Optional[Object] = None, name: Union[Name, str] = 'None')¶
Bases:
PanelSlot
The Slot for the UButtonSlot, contains the widget displayed in a button’s single slot
C++ Source:
Module: UMG
File: ButtonSlot.h
Editor Properties: (see get_editor_property/set_editor_property)
horizontal_alignment
(HorizontalAlignment): [Read-Write] Horizontal Alignmentpadding
(Margin): [Read-Write] Paddingvertical_alignment
(VerticalAlignment): [Read-Write] Vertical Alignment
- property horizontal_alignment: HorizontalAlignment¶
[Read-Write] Horizontal Alignment
- Type:
- set_horizontal_alignment(horizontal_alignment) → None¶
Set Horizontal Alignment
- Parameters:
horizontal_alignment (HorizontalAlignment) –
- set_vertical_alignment(vertical_alignment) → None¶
Set Vertical Alignment
- Parameters:
vertical_alignment (VerticalAlignment) –
- property vertical_alignment: VerticalAlignment¶
[Read-Write] Vertical Alignment
- Type: