UVerticalBoxSlot

The Slot for the [UVerticalBox](API\Runtime\UMG\Components\UVerticalBox), contains the widget that is flowed vertically

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/VerticalBoxSlot.h

Include

#include "Components/VerticalBoxSlot.h"

Syntax

class UVerticalBoxSlot : public UPanelSlot

Remarks

The Slot for the UVerticalBox, contains the widget that is flowed vertically

Variables

Name Description

Public variable

TEnumAsByte< EH...

 

HorizontalAlignment

The alignment of the object horizontally.

Public variable

FMargin

 

Padding

The padding area between the slot and the content it contains.

Public variable

FSlateChildSize

 

Size

How much space this slot should occupy in the direction of the panel.

Public variable

TEnumAsByte< EV...

 

VerticalAlignment

The alignment of the object vertically.

Constructors

Name Description

Public function

UVerticalBoxSlot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

BuildSlot

(
    TSharedRef< SVerticalBox > InVertic...
)

Builds the underlying FSlot for the Slate layout panel.

Public function

void

 

SetHorizontalAlignment

(
    EHorizontalAlignment InHorizontalAl...
)

Public function

void

 

SetPadding

(
    FMargin InPadding
)

Public function

void

 

SetSize

(
    FSlateChildSize InSize
)

Public function

void

 

SetVerticalAlignment

(
    EVerticalAlignment InVerticalAlignm...
)

Overridden from UPanelSlot

Name Description

Public function Virtual

bool

 

NudgeByDesigner

(
    const FVector2D& NudgeDirection,
    const TOptional< int32 >& GridSnap...
)

Called by the designer to "nudge" a widget in a direction.

Public function Virtual

void

 

SynchronizeFromTemplate

(
    const UPanelSlot*const Templat...
)

Called by the designer when a design-time widget needs to have changes to its associated template synchronized.

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the live slot if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)