UGridPanel

A table-like panel that retains the width of every column throughout the table. Many Children

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

/Engine/Source/Runtime/UMG/Public/Components/GridPanel.h

Include

#include "Components/GridPanel.h"

Syntax

class UGridPanel : public UPanelWidget

Remarks

A table-like panel that retains the width of every column throughout the table.

Many Children

Variables

Name Description

Public variable

TArray< float >

 

ColumnFill

The column fill rules

Protected variable

TSharedPtr< SGr...

 

MyGridPanel

Public variable

TArray< float >

 

RowFill

The row fill rules

Constructors

Name Description

Public function

UGridPanel

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

UGridSlot &#...

 

AddChildToGrid

(
    UWidget* Content,
    int32 InRow,
    int32 InColumn
)

Public function

void

 

SetColumnFill

(
    int32 ColumnIndex,
    float Coefficient
)

Public function

void

 

SetRowFill

(
    int32 ColumnIndex,
    float Coefficient
)

Overridden from UPanelWidget

Name Description

Protected function Virtual Const

UClass *

 

GetSlotClass()

UPanelWidget.

Protected function Virtual

void

 

OnSlotAdded

(
    UPanelSlot* Slot
)

Protected function Virtual

void

 

OnSlotRemoved

(
    UPanelSlot* Slot
)

Overridden from UWidget

Name Description

Public function Virtual

const FText

 

GetPaletteCategory()

Gets the palette category of the widget

Protected function Virtual

TSharedRef< ...

 

RebuildWidget()

Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed.

Public function Virtual

void

 

SynchronizeProperties()

Applies all properties to the native widget if possible.

Overridden from UVisual

Name Description

Public function Virtual

void

 

ReleaseSlateResources

(
    bool bReleaseChildren
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss