Navigation
Unreal Engine C++ API Reference > Runtime > Slate > Widgets > Layout > SDPIScaler
- SWidget::OnArrangeChildren()
- SPanel::OnArrangeChildren()
- SDPIScaler::OnArrangeChildren()
References
Module | Slate |
Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SDPIScaler.h |
Include | #include "Widgets/Layout/SDPIScaler.h" |
Source | /Engine/Source/Runtime/Slate/Private/Widgets/Layout/SDPIScaler.cpp |
virtual void OnArrangeChildren
&40;
const FGeometry & AllottedGeometry,
FArrangedChildren & ArrangedChildren
&41; const
Remarks
Panels arrange their children in a space described by the AllottedGeometry parameter. The results of the arrangement should be returned by appending a FArrangedWidget pair for every child widget. See StackPanel for an example
Parameters
Name | Description |
---|---|
AllottedGeometry | The geometry allotted for this widget by its parent. |
ArrangedChildren | The array to which to add the WidgetGeometries that represent the arranged children. |