Navigation
API > API/Runtime > API/Runtime/UMG
A table-like panel that retains the width of every column throughout the table.
| Name | UGridPanel |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/GridPanel.h |
| Include Path | #include "Components/GridPanel.h" |
Syntax
UCLASS (MinimalAPI)
class UGridPanel : public UPanelWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UPanelWidget → UGridPanel
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UGridPanel
(
const FObjectInitializer& ObjectInitializer |
Components/GridPanel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ColumnFill | TArray< float > | The column fill rules | Components/GridPanel.h |
|
| RowFill | TArray< float > | The row fill rules | Components/GridPanel.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Components/GridPanel.h |
|
||
void ClearFill() |
Components/GridPanel.h |
|
|
void SetColumnFill
(
int32 ColumnIndex, |
Components/GridPanel.h |
|
|
void SetRowFill
(
int32 RowIndex, |
Components/GridPanel.h |
|
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
Gets the palette category of the widget | Components/GridPanel.h | |
virtual void SynchronizeProperties () |
Applies all properties to the native widget if possible. | Components/GridPanel.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/GridPanel.h |
Protected
Overridden from UPanelWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UClass * GetSlotClass() |
UPanelWidget. | Components/GridPanel.h | |
virtual void OnSlotAdded
(
UPanelSlot* Slot |
Components/GridPanel.h | ||
virtual void OnSlotRemoved
(
UPanelSlot* Slot |
Components/GridPanel.h |
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual TSharedRef< SWidget > RebuildWidget() |
Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | Components/GridPanel.h |