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