UBorderSlot

The Slot for the [UBorderSlot](API\Runtime\UMG\Components\UBorderSlot), contains the widget displayed in a border's single slot

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/BorderSlot.h"

Syntax

class UBorderSlot : public UPanelSlot

Remarks

The Slot for the UBorderSlot, contains the widget displayed in a border's single slot

Variables

Name Description

Protected variable

TEnumAsByte< EH...

 

HorizontalAlignment

The alignment of the object horizontally.

Protected variable

FMargin

 

Padding

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

Protected variable

TEnumAsByte< EV...

 

VerticalAlignment

The alignment of the object vertically.

Constructors

Name Description

Public function

UBorderSlot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

BuildSlot

(
    TSharedRef< SBorder > InBorder
)

Builds the underlying slot for the slate border.

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
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally