Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets
Inheritance Hierarchy
References
Module | SlateCore |
Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h |
Include | #include "Widgets/SBoxPanel.h" |
Syntax
class SBoxPanel : public SPanel
Remarks
A BoxPanel contains one child and describes how that child should be arranged on the screen.
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
TPanelChildren< FSlot > | Children | The Box Panel's children. |
![]() |
EOrientation | Orientation | The Box Panel's orientation; determined at construct time. |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
SBoxPanel () |
||
![]() |
SBoxPanel
(
EOrientation InOrientation |
A Box Panel's orientation. |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | Removes all children from the box. | |
![]() ![]() |
EOrientation | ||
![]() ![]() |
bool | IsValidSlotIndex
(
int32 Index |
|
![]() ![]() |
int32 | NumSlots () |
|
![]() |
int32 | RemoveSlot
(
const TSharedRef< SWidget >& SlotWidget |
Removes a slot from this box panel which contains the specified SWidget |
![]() |
void | SetOrientation
(
EOrientation InOrientation |
Set the orientation of the Box. It will do a full invalidation of the widget. |
![]() ![]() |
const FSlateWidgetClassData & |
Overridden from SWidget
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
FVector2D | ComputeDesiredSize
(
float |
A Panel's desired size in the space required to arrange of its children on the screen while respecting all of the children's desired sizes and any layout-related options specified by the user. |
![]() ![]() |
FChildren * | GetChildren () |
All widgets must provide a way to access their children in a layout-agnostic way. |
![]() ![]() ![]() |
void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
Overridden from FSlateControlledConstruction
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
const FSlateWidgetClassData & |
Classes
Type | Name | Description | |
---|---|---|---|
![]() |
FScopedWidgetSlotArguments | ||
![]() |
FSlot | ||
![]() |
TSlot | A BoxPanel contains one BoxPanel child and describes how that child should be arranged on the screen. |
Typedefs
Name | Description |
---|---|
PrivateParentType | |
PrivateThisType | |
Super | |
ThisClass |