Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObject
- UVisual
- UPanelSlot
- USizeBoxSlot
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/SizeBoxSlot.h |
| Include | #include "Components/SizeBoxSlot.h" |
Syntax
UCLASS (MinimalAPI)
class USizeBoxSlot : public UPanelSlot
Remarks
The Slot for the USizeBoxSlot, 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 | |
|---|---|---|---|
USizeBoxSlot
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildSlot
(
TSharedRef< SBox > InSizeBox |
Builds the underlying slot for the slate SizeBox. | |
| 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 |