Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SPanel
Description
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.
Virtual Inheritance
- SWidget::ComputeDesiredSize → SPanel::ComputeDesiredSize
Derived Overrides
| Name | ComputeDesiredSize |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SPanel.h |
| Include Path | #include "Widgets/SPanel.h" |
FVector2D ComputeDesiredSize
(
float
) const
The desired size.