Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Widgets/Layout/SWrapBox.h |
Include |
#include "Widgets/Layout/SWrapBox.h" |
class SWrapBox : public SPanel
Arranges widgets left-to-right. When the widgets exceed the PreferredWidth the SWrapBox will place widgets on the next line.
Illustration: +--Preferred Width | [--------][-|-] [][---[]| [-----------|] [] |
Name | Description | |
---|---|---|
|
SWrapBox() |
Name | Description | ||
---|---|---|---|
|
FSlot & |
AddSlot() |
|
|
ClearChildren() |
||
|
Construct ( |
||
|
RemoveSlot ( |
Removes a slot from this box panel which contains the specified SWidget |
|
|
SetInnerSlotPadding ( |
See InnerSlotPadding Attribute |
|
|
SetUseAllottedWidth ( |
When true, use the WrapWidth property to determine where to wrap to the next line. |
|
|
SetWrapWidth ( |
Set the width at which the wrap panel should wrap its content. |
|
|
FSlot & |
Slot() |
Name | Description | ||
---|---|---|---|
|
ComputeDesiredSize ( |
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. |
|
|
FChildren &#... |
GetChildren() |
All widgets must provide a way to access their children in a layout-agnostic way. |
|
OnArrangeChildren ( |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
|
|
Tick ( |
Ticks this widget with Geometry. |
Name |
Description |
|
---|---|---|
|
FArguments |
|
|
FChildArranger |
|
|
FSlot |
A slot that support alignment of content and padding |