Navigation
Unreal Engine C++ API Reference > Runtime > UMG > Components
Inheritance Hierarchy
References
Module | UMG |
Header | /Engine/Source/Runtime/UMG/Public/Components/StackBox.h |
Include | #include "Components/StackBox.h" |
Syntax
class UStackBox : public UPanelWidget
Remarks
A stack box widget is a layout panel allowing child widgets to be automatically laid out vertically or horizontally.
- Many Children
- Flows Vertical or Horizontal
Constructors
No constructors are accessible with public or protected access.
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
UStackBoxSlot * | AddChildToStackBox
(
UWidget* Content |
Adds a new child widget to the container. |
![]() ![]() |
EOrientation | Get the orientation of the stack box. | |
![]() |
bool | ReplaceStackBoxChildAt
(
int32 Index, |
Replace the widget at the given index it with a different widget. |
![]() |
void | SetOrientation
(
EOrientation InType |
Set the orientation of the stack box. The existing elements will be rearranged. |
Overridden from UPanelWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
UClass * | GetSlotClass () |
|
![]() ![]() |
void | OnSlotAdded
(
UPanelSlot* Slot |
|
![]() ![]() |
void | OnSlotRemoved
(
UPanelSlot* Slot |
Overridden from UWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
const FText | Gets the palette category of the widget | |
![]() ![]() |
TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | |
![]() ![]() |
void | Applies all properties to the native widget if possible. |
Overridden from UVisual
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | ReleaseSlateResources
(
bool bReleaseChildren |