Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/Widgets > API/Runtime/SlateCore/Widgets/SBoxPanel
- SWidget::OnArrangeChildren()
- SPanel::OnArrangeChildren()
- SBoxPanel::OnArrangeChildren()
References
| Module | SlateCore |
| Header | /Engine/Source/Runtime/SlateCore/Public/Widgets/SBoxPanel.h |
| Include | #include "Widgets/SBoxPanel.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SBoxPanel.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. |