Choose your operating system:
Windows
macOS
Linux
Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SBox.h |
Include |
#include "Widgets/Layout/SBox.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Widgets/Layout/SBox.cpp |
virtual void OnArrangeChildren
(
const FGeometry & AllottedGeometry,
FArrangedChildren & ArrangedChildren
) const
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
Parameter |
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. |