Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Layout
Inheritance Hierarchy
- FSlateControlledConstruction
- TSharedFromThis
- SWidget
- SPanel
- SGridPanel
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SGridPanel.h |
| Include | #include "Widgets/Layout/SGridPanel.h" |
Syntax
class SGridPanel : public SPanel
Constructors
| Type | Name | Description | |
|---|---|---|---|
SGridPanel () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FScopedWidgetSlotArguments | Dynamically add a new slot to the UI at specified Column and Row. | ||
| void | Removes all slots from the panel | ||
| void | ClearFill () |
Clear the row and column fill rules. | |
| void | Construct
(
const FArguments& InArgs |
||
| FVector2D | GetDesiredRegionSize
(
const FIntPoint& StartCell, |
GetDesiredSize of a subregion in the graph. | |
| bool | RemoveSlot
(
const TSharedRef< SWidget >& SlotWidget |
Removes a slot from this panel which contains the specified SWidget | |
| void | SetColumnFill
(
int32 ColumnId, |
Specify a column to stretch instead of sizing to content. | |
| void | SetRowFill
(
int32 RowId, |
Specify a row to stretch instead of sizing to content. | |
| FSlot::FSlotArguments | Used by declarative syntax to create a Slot in the specified Column, Row and Layer. | ||
| const FSlateWidgetClassData & |
Overridden from SWidget
| Type | Name | Description | |
|---|---|---|---|
| void | CacheDesiredSize
(
float InLayoutScaleMultiplier |
The system calls this method. | |
| 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. | |
| int32 | OnPaint
(
const FPaintArgs& Args, |
The widget should respond by populating the OutDrawElements array with FDrawElements that represent it and any of its children. |
Overridden from FSlateControlledConstruction
| Type | Name | Description | |
|---|---|---|---|
| const FSlateWidgetClassData & |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments | |||
| FSlot | |||
| Layer | Used by the mandatory named parameter in FSlot. |
Typedefs
| Name | Description |
|---|---|
| FScopedWidgetSlotArguments | |
| PrivateParentType | |
| PrivateThisType | |
| Super | |
| ThisClass |