Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SBoxPanel
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 → SBoxPanel::ComputeDesiredSize
| Name | ComputeDesiredSize |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h |
| Include Path | #include "Widgets/SBoxPanel.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SBoxPanel.cpp |
virtual FVector2D ComputeDesiredSize
(
float
) const
The desired size.