Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UPanelSlot
- UStackBoxSlot
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/StackBoxSlot.h |
| Include | #include "Components/StackBoxSlot.h" |
Syntax
class UStackBoxSlot : public UPanelSlot
Remarks
The Slot for the UStackBox, contains the widget that is flowed vertically or horizontally.
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | BuildSlot
(
TSharedRef< SStackBox > InBox |
Builds the underlying FSlot for the Slate layout panel. | |
| EHorizontalAlignment | |||
| FMargin | GetPadding () |
||
| FSlateChildSize | GetSize () |
||
| EVerticalAlignment | |||
| void | ReplaceContent
(
UWidget* Content |
Replace the slot content. | |
| void | SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
||
| void | SetPadding
(
FMargin InPadding |
||
| void | SetSize
(
FSlateChildSize InSize |
||
| void | SetVerticalAlignment
(
EVerticalAlignment InVerticalAlignment |
Overridden from UPanelSlot
| Type | Name | Description | |
|---|---|---|---|
| bool | NudgeByDesigner
(
const FVector2D& NudgeDirection, |
Called by the designer to "nudge" a widget in a direction. | |
| void | SynchronizeFromTemplate
(
const UPanelSlot*const TemplateSlot |
Called by the designer when a design-time widget needs to have changes to its associated template synchronized. | |
| void | Applies all properties to the live slot if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |