Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObject
- UVisual
- UPanelSlot
- UHorizontalBoxSlot
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/HorizontalBoxSlot.h |
| Include | #include "Components/HorizontalBoxSlot.h" |
Syntax
UCLASS (MinimalAPI)
class UHorizontalBoxSlot : public UPanelSlot
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< EHorizontalAlignment > | HorizontalAlignment | ||
| FMargin | Padding | The amount of padding between the slots parent and the content. | |
| FSlateChildSize | Size | How much space this slot should occupy in the direction of the panel. | |
| TEnumAsByte< EVerticalAlignment > | VerticalAlignment |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UHorizontalBoxSlot
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildSlot
(
TSharedRef< SHorizontalBox > HorizontalBox |
||
| EHorizontalAlignment | |||
| FMargin | GetPadding () |
||
| FSlateChildSize | GetSize () |
||
| EVerticalAlignment | |||
| void | SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
||
| void | SetPadding
(
FMargin InPadding |
||
| void | SetSize
(
FSlateChildSize InSize |
||
| void | SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Overridden from UPanelSlot
| Type | Name | Description | |
|---|---|---|---|
| bool | NudgeByDesigner
(
const FVector2D& NudgeDirection, |
Called by the designer to "nudge" a widget in a direction. | |
| void | SynchronizeFromTemplate
(
const UPanelSlot*const TemplateSlot |
Called by the designer when a design-time widget needs to have changes to its associated template synchronized. | |
| void | Applies all properties to the live slot if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |