Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SBox.h |
Include |
#include "Widgets/Layout/SBox.h" |
class SBox : public SPanel
SBox is the simplest layout element.
Name | Description | ||
---|---|---|---|
|
ChildSlot |
Name | Description | |
---|---|---|
|
SBox() |
Name | Description | ||
---|---|---|---|
|
float |
ComputeDesiredHeight() |
|
|
float |
ComputeDesiredWidth() |
|
|
Construct ( |
||
|
SetContent ( |
See the Content slot. |
|
|
SetHAlign ( |
See HAlign argument |
|
|
SetHeightOverride ( |
See HeightOverride attribute |
|
|
SetMaxAspectRatio ( |
||
|
SetMaxDesiredHeight ( |
See MaxDesiredHeight attribute |
|
|
SetMaxDesiredWidth ( |
See MaxDesiredWidth attribute |
|
|
SetMinAspectRatio ( |
||
|
SetMinDesiredHeight ( |
See MinDesiredHeight attribute |
|
|
SetMinDesiredWidth ( |
See MinDesiredWidth attribute |
|
|
SetPadding ( |
See Padding attribute |
|
|
SetVAlign ( |
See VAlign argument |
|
|
SetWidthOverride ( |
See WidthOverride attribute |
|
|
const FSlate... |
StaticWidgetClass() |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
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. |
|
OnArrangeChildren ( |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
|
|
OnPaint ( |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Name | Description | ||
---|---|---|---|
|
const FSlate... |
GetWidgetClass() |
Name |
Description |
|
---|---|---|
|
FArguments |
|
|
FBoxOneChildSlot |
Name |
Description |
---|---|
PrivateParentType |
|
PrivateThisType |
|
Super |
|
ThisClass |
Name | Description | ||
---|---|---|---|
|
FBoxSlot: publ... |
pad0 |
FBoxSlot is deprecated. Use FSingleWidgetChildrenWithBasicLayoutSlot or FOneSimpleMemberChild |