Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SWrapBox
Inheritance Hierarchy
- TWidgetSlotWithAttributeSupport
- TPaddingWidgetSlotMixin
- TAlignmentWidgetSlotMixin
- TBasicLayoutWidgetSlot
- SWrapBox::FSlot
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
| Type | Name | Description | |
|---|---|---|---|
FSlot () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FChildren& SlotOwner, |
||
| bool | |||
| TOptional< float > | |||
| bool | |||
| void | SetFillEmptySpace
(
bool bInFillEmptySpace |
Should this slot fill the remaining space on the line? | |
| 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. | |
| void | SetForceNewLine
(
bool bInForceNewLine |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FSlotArguments |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bSlotFillEmptySpace | Direct access to bSlotFillEmptySpace is now deprecated. Use the getter or setter. | |
| bool | bSlotForceNewLine | Direct access to bSlotForceNewLine is now deprecated. Use the getter or setter. | |
| TOptional< float > | SlotFillLineWhenSizeLessThan | Direct access to SlotFillLineWhenSizeLessThan is now deprecated. Use the getter or setter. |