UUniformGridPanel

A panel that evenly divides up available space between all of its children.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

UMG

Header

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

Include

#include "Components/UniformGridPanel.h"

Syntax

class UUniformGridPanel : public UPanelWidget

Remarks

A panel that evenly divides up available space between all of its children.

Variables

Name Description

Public variable

float

 

MinDesiredSlotHeight

The minimum desired height of the slots

Public variable

float

 

MinDesiredSlotWidth

The minimum desired width of the slots

Protected variable

TSharedPtr< SUn...

 

MyUniformGridPanel

Public variable

FMargin

 

SlotPadding

Padding given to each slot

Constructors

Name Description

Public function

UUniformGridPanel

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

UUniformGrid...

 

AddChildToUniformGrid

(
    UWidget* Content,
    int32 InRow,
    int32 InColumn
)

Public function

void

 

SetMinDesiredSlotHeight

(
    float InMinDesiredSlotHeight
)

Public function

void

 

SetMinDesiredSlotWidth

(
    float InMinDesiredSlotWidth
)

Public function

void

 

SetSlotPadding

(
    FMargin InSlotPadding
)

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
)

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback