Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SWrapBox
A slot that support alignment of content and padding
| Name | FSlot |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWrapBox.h |
| Include Path | #include "Widgets/Layout/SWrapBox.h" |
Syntax
class FSlot : public TBasicLayoutWidgetSlot< FSlot >
Inheritance Hierarchy
- FSlotPosition → FSlotBase → TSlotBase → TWidgetSlotWithAttributeSupport → TBasicLayoutWidgetSlot → SWrapBox::FSlot
- FSlotBase → TSlotBase → TWidgetSlotWithAttributeSupport → TBasicLayoutWidgetSlot → SWrapBox::FSlot
- SlateAttributePrivate::ISlateAttributeContainer → TWidgetSlotWithAttributeSupport → TBasicLayoutWidgetSlot → SWrapBox::FSlot
- TPaddingWidgetSlotMixin → TBasicLayoutWidgetSlot → SWrapBox::FSlot
- TAlignmentWidgetSlotMixin → TBasicLayoutWidgetSlot → SWrapBox::FSlot
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSlot() |
Widgets/Layout/SWrapBox.h |
Structs
| Name | Remarks |
|---|---|
| FSlotArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bSlotFillEmptySpace | bool | Widgets/Layout/SWrapBox.h | ||
| bSlotForceNewLine | bool | Widgets/Layout/SWrapBox.h | ||
| SlotFillLineWhenSizeLessThan | TOptional< float > | Widgets/Layout/SWrapBox.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FChildren& SlotOwner, |
Widgets/Layout/SWrapBox.h | ||
bool GetFillEmptySpace() |
Widgets/Layout/SWrapBox.h | ||
TOptional< float > GetFillLineWhenSizeLessThan() |
Widgets/Layout/SWrapBox.h | ||
bool GetForceNewLine() |
Widgets/Layout/SWrapBox.h | ||
void SetFillEmptySpace
(
bool bInFillEmptySpace |
Should this slot fill the remaining space on the line? | Widgets/Layout/SWrapBox.h | |
void SetFillLineWhenSizeLessThan
(
TOptional< float > InFillLineWhenSizeLessThan |
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. | Widgets/Layout/SWrapBox.h | |
void SetForceNewLine
(
bool bInForceNewLine |
Widgets/Layout/SWrapBox.h |