Navigation
API > API/Runtime > API/Runtime/UMG
The Slot for the UVerticalBox, contains the widget that is flowed vertically
| Name | UVerticalBoxSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/VerticalBoxSlot.h |
| Include Path | #include "Components/VerticalBoxSlot.h" |
Syntax
UCLASS (MinimalAPI)
class UVerticalBoxSlot : public UPanelSlot
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UPanelSlot → UVerticalBoxSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UVerticalBoxSlot
(
const FObjectInitializer& ObjectInitializer |
Components/VerticalBoxSlot.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HorizontalAlignment | TEnumAsByte< EHorizontalAlignment > | The alignment of the object horizontally. | Components/VerticalBoxSlot.h |
|
| Padding | FMargin | The padding area between the slot and the content it contains. | Components/VerticalBoxSlot.h |
|
| Size | FSlateChildSize | How much space this slot should occupy in the direction of the panel. | Components/VerticalBoxSlot.h |
|
| VerticalAlignment | TEnumAsByte< EVerticalAlignment > | The alignment of the object vertically. | Components/VerticalBoxSlot.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Slot | SVerticalBox::FSlot * | A raw pointer to the slot to allow us to adjust the size, padding...etc at runtime. | Components/VerticalBoxSlot.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void BuildSlot
(
TSharedRef< SVerticalBox > InVerticalBox |
Builds the underlying FSlot for the Slate layout panel. | Components/VerticalBoxSlot.h | |
EHorizontalAlignment GetHorizontalAlignment() |
Components/VerticalBoxSlot.h | ||
FMargin GetPadding() |
Components/VerticalBoxSlot.h | ||
FSlateChildSize GetSize() |
Components/VerticalBoxSlot.h | ||
EVerticalAlignment GetVerticalAlignment() |
Components/VerticalBoxSlot.h | ||
void SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
Components/VerticalBoxSlot.h |
|
|
void SetPadding
(
FMargin InPadding |
Components/VerticalBoxSlot.h |
|
|
void SetSize
(
FSlateChildSize InSize |
Components/VerticalBoxSlot.h |
|
|
void SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Components/VerticalBoxSlot.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/VerticalBoxSlot.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/VerticalBoxSlot.h | |
virtual void SynchronizeProperties() |
Applies all properties to the live slot if possible. | Components/VerticalBoxSlot.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/VerticalBoxSlot.h |