Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObject
- UVisual
- UPanelSlot
- UWrapBoxSlot
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/WrapBoxSlot.h |
| Include | #include "Components/WrapBoxSlot.h" |
Syntax
UCLASS (MinimalAPI)
class UWrapBoxSlot : public UPanelSlot
Remarks
The Slot for the UWrapBox, contains the widget that is flowed vertically
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bFillEmptySpace | Should this slot fill the remaining space on the line? | |
| bool | bForceNewLine | Should this slot start on a new line? | |
| float | FillSpanWhenLessThan | If the total available space in the wrap panel drops below this threshold, this slot will attempt to fill an entire line. | |
| TEnumAsByte< EHorizontalAlignment > | HorizontalAlignment | The alignment of the object horizontally. | |
| FMargin | Padding | The padding area between the slot and the content it contains. | |
| TEnumAsByte< EVerticalAlignment > | VerticalAlignment | The alignment of the object vertically. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWrapBoxSlot
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildSlot
(
TSharedRef< SWrapBox > InWrapBox |
Builds the underlying FSlot for the Slate layout panel. | |
| bool | |||
| bool | |||
| float | |||
| EHorizontalAlignment | |||
| FMargin | GetPadding () |
||
| EVerticalAlignment | |||
| void | SetFillEmptySpace
(
bool InbFillEmptySpace |
||
| void | SetFillSpanWhenLessThan
(
float InFillSpanWhenLessThan |
||
| void | SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
||
| void | SetNewLine
(
bool InForceNewLine |
||
| void | SetPadding
(
FMargin InPadding |
||
| void | SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Overridden from UPanelSlot
| Type | Name | Description | |
|---|---|---|---|
| void | Applies all properties to the live slot if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |