Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SUniformGridPanel
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SUniformGridPanel.h |
| Include | #include "Widgets/Layout/SUniformGridPanel.h" |
Syntax
class SUniformGridPanel : 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
(
int32 Column, |
Dynamically add a new slot to the UI at specified Column and Row. | |
| void | Removes all slots from the panel | ||
| void | Construct
(
const FArguments& InArgs |
||
| bool | RemoveSlot
(
const TSharedRef< SWidget >& SlotWidget |
Removes a slot from this panel which contains the specified SWidget | |
| void | SetMinDesiredSlotHeight
(
TAttribute< float > InMinDesiredSlotHeight |
See MinDesiredSlotHeight attribute | |
| void | SetMinDesiredSlotWidth
(
TAttribute< float > InMinDesiredSlotWidth |
See MinDesiredSlotWidth attribute | |
| void | SetSlotPadding
(
TAttribute< FMargin > InSlotPadding |
See SlotPadding attribute | |
| FSlot::FSlotArguments | Slot
(
int32 Column, |
Used by declarative syntax to create a Slot in the specified Column, Row. |
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. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments | |||
| FSlot | Stores the per-child info for this panel type |
Typedefs
| Name | Description |
|---|---|
| FScopedWidgetSlotArguments |