FSlot

A slot that support alignment of content and padding

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWrapBox.h

Include

#include "Widgets/Layout/SWrapBox.h"

Syntax

class FSlot : public TBasicLayoutWidgetSlot< FSlot >

Remarks

A slot that support alignment of content and padding

Constructors

Name Description

Public function

FSlot()

Functions

Name Description

Public function

void

 

Construct

(
    const FChildren& SlotOwner,
    FSlotArguments&& InArgs
)

Public function Const

bool

 

GetFillEmptySpace()

Public function Const

TOptional< f...

 

GetFillLineWhenSizeLessThan()

Public function Const

bool

 

GetForceNewLine()

Public function

void

 

SetFillEmptySpace

(
    bool bInFillEmptySpace
)

Should this slot fill the remaining space on the line?

Public function

void

 

SetFillLineWhenSizeLessThan

(
    TOptional< float > InFillLineWhenSi...
)

Dependently of the Orientation, if the total available horizontal or vertical space in the wrap panel drops below this threshold, this slot will attempt to fill an entire line.

Public function

void

 

SetForceNewLine

(
    bool bInForceNewLine
)

Classes

Name

Description

Public struct

FSlotArguments

Deprecated Variables

Name Description

Public variable

bool

 

bSlotFillEmptySpace

Direct access to bSlotFillEmptySpace is now deprecated. Use the getter or setter.

Public variable

bool

 

bSlotForceNewLine

Direct access to bSlotForceNewLine is now deprecated. Use the getter or setter.

Public variable

TOptional< floa...

 

SlotFillLineWhenSizeLessThan

Direct access to SlotFillLineWhenSizeLessThan is now deprecated. Use the getter or setter.