Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SSplitter2x2
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SSplitter.h |
| Include | #include "Widgets/Layout/SSplitter.h" |
Syntax
class SSplitter2x2 : public SPanel
Remarks
SSplitter2x2 A splitter which has exactly 4 children and allows simultaneous of all children along an axis as well as resizing all children by dragging the center of the splitter.
Constructors
| Type | Name | Description | |
|---|---|---|---|
SSplitter2x2 () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
||
| TSharedRef< SWidget > | Returns the widget displayed in the splitter bottom left area | ||
| TSharedRef< SWidget > | Returns the widget displayed in the splitter bottom right area | ||
| void | GetSplitterPercentages
(
TArray< FVector2D >& OutPercentages |
Returns an array of size percentages for the children in this order: TopLeft, BottomLeft, TopRight, BottomRight | |
| TSharedRef< SWidget > | Returns the widget displayed in the splitter top left area | ||
| TSharedRef< SWidget > | Returns the widget displayed in the splitter top right area | ||
| void | SetBottomLeftContent
(
TSharedRef< SWidget > BottomLeftContent |
Sets the widget to be displayed in the splitter bottom left area | |
| void | SetBottomRightContent
(
TSharedRef< SWidget > BottomRightContent |
Sets the widget to be displayed in the splitter bottom right area | |
| void | SetSplitterPercentages
(
TArrayView< FVector2D > InPercentages |
Sets the size percentages for the children in this order: TopLeft, BottomLeft, TopRight, BottomRight | |
| void | SetTopLeftContent
(
TSharedRef< SWidget > TopLeftContent |
Sets the widget to be displayed in the splitter top left area | |
| void | SetTopRightContent
(
TSharedRef< SWidget > TopRightContent |
Sets the widget to be displayed in the splitter top right area |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |