Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SUniformWrapPanel
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SUniformWrapPanel.h |
| Include | #include "Widgets/Layout/SUniformWrapPanel.h" |
Syntax
class SUniformWrapPanel : public SPanel
Remarks
A panel that evenly divides up available space between all of its children.
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| FScopedWidgetSlotArguments | AddSlot () |
||
| void | Removes all slots from the panel | ||
| FVector2D | |||
| void | Construct
(
const FArguments& InArgs |
||
| bool | |||
| EHorizontalAlignment | |||
| bool | RemoveSlot
(
const TSharedRef< SWidget >& SlotWidget |
Removes a slot from this panel which contains the specified SWidget | |
| void | SetEvenRowDistribution
(
TAttribute< bool > InEvenRowDistribution |
See EvenRowDistribution attribute | |
| void | SetHorizontalAlignment
(
TAttribute< EHorizontalAlignment > InHAlignment |
See HAlign attribute | |
| void | SetMaxDesiredSlotHeight
(
TAttribute< float > InMaxDesiredSlotHeight |
See MinDesiredSlotHeight attribute | |
| void | SetMaxDesiredSlotWidth
(
TAttribute< float > InMaxDesiredSlotWidth |
See MinDesiredSlotWidth attribute | |
| void | SetMinDesiredSlotHeight
(
TAttribute< float > InMinDesiredSlotHeight |
See MinDesiredSlotHeight attribute | |
| void | SetMinDesiredSlotWidth
(
TAttribute< float > InMinDesiredSlotWidth |
See MinDesiredSlotWidth attribute | |
| void | SetNumColumnsOverride
(
TAttribute< int32 > InNumColumnsOverride |
See NumColumnsOverride attribute | |
| void | SetSlotPadding
(
TAttribute< FMargin > InSlotPadding |
See SlotPadding attribute | |
| FSlot::FSlotArguments | Slot () |
Used by declarative syntax to create a Slot. | |
| const FSlateWidgetClassData & |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | ComputeDesiredSize
(
float |
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. | |
| void | OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Panels arrange their children in a space described by the AllottedGeometry parameter. |
Overridden from FSlateControlledConstruction
| Type | Name | Description | |
|---|---|---|---|
| const FSlateWidgetClassData & |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments | |||
| FSlot | Stores the per-child info for this panel type |
Typedefs
| Name | Description |
|---|---|
| FScopedWidgetSlotArguments | |
| PrivateParentType | |
| PrivateThisType | |
| Super | |
| ThisClass |