UHorizontalBoxSlot

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/HorizontalBoxSlot.h"

Syntax

class UHorizontalBoxSlot : public UPanelSlot

Variables

Name Description

Public variable

TEnumAsByte< EH...

 

HorizontalAlignment

Public variable

FMargin

 

Padding

The amount of padding between the slots parent and the content.

Public variable

FSlateChildSize

 

Size

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

Public variable

TEnumAsByte< EV...

 

VerticalAlignment

Constructors

Name Description

Public function

UHorizontalBoxSlot

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

BuildSlot

(
    TSharedRef< SHorizontalBox > Horizo...
)

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
)