Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SBoxPanel
Description
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
Virtual Inheritance
- SWidget::OnArrangeChildren → SPanel::OnArrangeChildren → SBoxPanel::OnArrangeChildren
| Name | OnArrangeChildren |
| 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 void OnArrangeChildren
(
const FGeometry & AllottedGeometry,
FArrangedChildren & ArrangedChildren
) const
Parameters
| Name | Remarks |
|---|---|
| AllottedGeometry | The geometry allotted for this widget by its parent. |
| ArrangedChildren | The array to which to add the WidgetGeometries that represent the arranged children. |