SSplitter2x2

[SSplitter2x2](API\Runtime\Slate\Widgets\Layout\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.

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Public function

SSplitter2x2()

Functions

Name Description

Public function

void

 

Construct

(
    const FArguments& InArgs
)

Public function

TSharedRef< ...

 

GetBottomLeftContent()

Returns the widget displayed in the splitter bottom left area

Public function

TSharedRef< ...

 

GetBottomRightContent()

Returns the widget displayed in the splitter bottom right area

Public function Const

void

 

GetSplitterPercentages

(
    TArray< FVector2D >& OutPercentage...
)

Returns an array of size percentages for the children in this order: TopLeft, BottomLeft, TopRight, BottomRight

Public function

TSharedRef< ...

 

GetTopLeftContent()

Returns the widget displayed in the splitter top left area

Public function

TSharedRef< ...

 

GetTopRightContent()

Returns the widget displayed in the splitter top right area

Public function

void

 

SetBottomLeftContent

(
    TSharedRef< SWidget > BottomLeftCon...
)

Sets the widget to be displayed in the splitter bottom left area

Public function

void

 

SetBottomRightContent

(
    TSharedRef< SWidget > BottomRightCo...
)

Sets the widget to be displayed in the splitter bottom right area

Public function

void

 

SetSplitterPercentages

(
    const TArray< FVector2D >& InPerce...
)

Sets the size percentages for the children in this order: TopLeft, BottomLeft, TopRight, BottomRight

Public function

void

 

SetTopLeftContent

(
    TSharedRef< SWidget > TopLeftConten...
)

Sets the widget to be displayed in the splitter top left area

Public function

void

 

SetTopRightContent

(
    TSharedRef< SWidget > TopRightConte...
)

Sets the widget to be displayed in the splitter top right area

Classes

Name

Description

Public struct

FArguments

Public class

FSlot

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss