Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObject
- UVisual
- UPanelSlot
- UButtonSlot
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/ButtonSlot.h |
| Include | #include "Components/ButtonSlot.h" |
Syntax
UCLASS (MinimalAPI)
class UButtonSlot : public UPanelSlot
Remarks
The Slot for the UButtonSlot, contains the widget displayed in a button's single slot
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< EHorizontalAlignment > | HorizontalAlignment | The alignment of the object horizontally. | |
| FMargin | Padding | The padding area between the slot and the content it contains. | |
| TEnumAsByte< EVerticalAlignment > | VerticalAlignment | The alignment of the object vertically. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UButtonSlot
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildSlot
(
TSharedRef< SButton > InButton |
Builds the underlying slot for the slate button. | |
| EHorizontalAlignment | |||
| FMargin | GetPadding () |
||
| EVerticalAlignment | |||
| void | SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
||
| void | SetPadding
(
FMargin InPadding |
||
| void | SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Overridden from UPanelSlot
| Type | Name | Description | |
|---|---|---|---|
| void | Applies all properties to the live slot if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |