FSlot

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h

Include

#include "Widgets/SBoxPanel.h"

Syntax

class FSlot : public SBoxPanel::TSlot< FSlot >

Functions

Name Description

Public function

void

 

Construct

(
    const FChildren& SlotOwner,
    FSlotArguments&& InArgs
)

Public function

void

 

SetAutoWidth()

The widget's DesiredSize will be used as the space required.

Public function

void

 

SetFillWidth

(
    TAttribute< float > InStretchCoeffi...
)

The available space will be distributed proportionately.

Public function

void

 

SetMaxWidth

(
    TAttribute< float > InMaxWidth
)

Set the max size in SlateUnit this slot can be.

Classes

Name

Description

Public struct

FSlotArguments

Deprecated Functions

Name Description

Public function

FSlot &

 

AutoWidth()

Chained AutoWidth is deprecated. Use the FSlotArgument or SetAutoWidth

Public function

FSlot &

 

FillWidth

(
    TAttribute< float > InStretchCoeffi...
)

Chained FillWidth is deprecated. Use the FSlotArgument or SetFillWidth

Public function

FSlot &

 

MaxWidth

(
    TAttribute< float > InMaxWidth
)

Chained MaxWidth is deprecated. Use the FSlotArgument or SetMaxWidth