Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h |
Include |
#include "Widgets/SBoxPanel.h" |
template<typename SlotType>
class TSlot : public TBasicLayoutWidgetSlot< SlotType >
A BoxPanel contains one BoxPanel child and describes how that child should be arranged on the screen.
Name | Description | |
---|---|---|
|
TSlot() |
Default values for a slot. |
Name | Description | ||
---|---|---|---|
|
Construct ( |
||
|
float |
GetMaxSize() |
Get the max size the slot can be. |
|
FSizeParam::... |
GetSizeRule() |
Get the space rule this slot should occupy along panel's direction. |
|
float |
GetSizeValue() |
Get the space rule value this slot should occupy along panel's direction. |
|
RegisterAttributes |
||
|
SetMaxSize ( |
Set the max size in SlateUnit this slot can be. |
|
|
SetSizeParam ( |
Set the size Param of the slot, It could be a FStretch or a FAuto. |
|
|
SetSizeToAuto() |
The widget's DesiredSize will be used as the space required. |
|
|
SetSizeToStretch ( |
The available space will be distributed proportionately. |
Name |
Description |
|
---|---|---|
|
FSlotArguments |