SSplitter2x2::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.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

SWidget::ComputeDesiredSize()

SPanel::ComputeDesiredSize()

SSplitter2x2::ComputeDesiredSize()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SSplitter.h

Include

#include "Widgets/Layout/SSplitter.h"

Source

/Engine/Source/Runtime/Slate/Private/Widgets/Layout/SSplitter.cpp

Syntax

virtual FVector2D ComputeDesiredSize
(
    float
) const

Remarks

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. See StackPanel for an example.