Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/WrapBox.h |
| Include | #include "Components/WrapBox.h" |
Syntax
class UWrapBox : public UPanelWidget
Remarks
Arranges widgets left-to-right or top-to-bottom dependently of the orientation. When the widgets exceed the wrapSize it will place widgets on the next line.
- Many Children
- Flows
- Wraps
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< class SWrapBox > | MyWrapBox |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UWrapBox
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UWrapBoxSlot * | AddChildToWrapBox
(
UWidget* Content |
||
| EHorizontalAlignment | |||
| FVector2D | Gets the inner slot padding goes between slots sharing borders | ||
| EOrientation | |||
| float | GetWrapSize () |
||
| void | SetExplicitWrapSize
(
bool bInExplicitWrapSize |
||
| void | SetHorizontalAlignment
(
EHorizontalAlignment InHorizontalAlignment |
||
| void | SetInnerSlotPadding
(
FVector2D InPadding |
Sets the inner slot padding goes between slots sharing borders | |
| void | SetOrientation
(
EOrientation InOrientation |
||
| void | SetWrapSize
(
float InWrapSize |
||
| bool |
Overridden from UPanelWidget
| Type | Name | Description | |
|---|---|---|---|
| UClass * | GetSlotClass () |
||
| void | OnSlotAdded
(
UPanelSlot* Slot |
||
| void | OnSlotRemoved
(
UPanelSlot* Slot |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bExplicitWrapSize | Direct access to bExplicitWrapSize is deprecated. Please use the getter or setter. | |
| TEnumAsByte< EHorizontalAlignment > | HorizontalAlignment | Direct access to HorizontalAlignment is deprecated. Please use the getter or setter. | |
| FVector2D | InnerSlotPadding | Direct access to InnerSlotPadding is deprecated. Please use the getter or setter. | |
| TEnumAsByte< EOrientation > | Orientation | Direct access to Orientation is deprecated. Please use the getter or setter. | |
| float | WrapSize | Direct access to WrapSize is deprecated. Please use the getter or setter. |