Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout > API/Runtime/Slate/Widgets/Layout/SWidgetSwitcher
- SWidget::ComputeDesiredSize()
- SPanel::ComputeDesiredSize()
- SWidgetSwitcher::ComputeDesiredSize()
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWidgetSwitcher.h |
| Include | #include "Widgets/Layout/SWidgetSwitcher.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Layout/SWidgetSwitcher.cpp |
virtual FVector2D ComputeDesiredSize
&40;
float
&41; 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. The desired size.