UWrapBoxSlot

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

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/WrapBoxSlot.h"

Syntax

class UWrapBoxSlot : public UPanelSlot

Remarks

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

Variables

Name Description

Public variable

bool

 

bFillEmptySpace

Should this slot fill the remaining space on the line?

Public variable

float

 

FillSpanWhenLessThan

If the total available space in the wrap panel drops below this threshold, this slot will attempt to fill an entire line.

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

TEnumAsByte< EV...

 

VerticalAlignment

The alignment of the object vertically.

Constructors

Name Description

Public function

UWrapBoxSlot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

BuildSlot

(
    TSharedRef< SWrapBox > InWrapBox
)

Builds the underlying FSlot for the Slate layout panel.

Public function

void

 

SetFillEmptySpace

(
    bool InbFillEmptySpace
)

Public function

void

 

SetFillSpanWhenLessThan

(
    float InFillSpanWhenLessThan
)

Public function

void

 

SetHorizontalAlignment

(
    EHorizontalAlignment InHorizontalAl...
)

Public function

void

 

SetPadding

(
    FMargin InPadding
)

Public function

void

 

SetVerticalAlignment

(
    EVerticalAlignment InVerticalAlignm...
)

Overridden from UPanelSlot

Name Description

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
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss