Navigation
API > API/Runtime > API/Runtime/UMG
A panel that evenly divides up available space between all of its children.
| Name | UUniformGridPanel |
| Type | class |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/UniformGridPanel.h |
| Include Path | #include "Components/UniformGridPanel.h" |
Syntax
UCLASS (MinimalAPI)
class UUniformGridPanel : public UPanelWidget
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UVisual → UWidget → UPanelWidget → UUniformGridPanel
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UUniformGridPanel
(
const FObjectInitializer& ObjectInitializer |
Components/UniformGridPanel.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| MinDesiredSlotHeight | float | The minimum desired height of the slots | Components/UniformGridPanel.h |
|
| MinDesiredSlotWidth | float | The minimum desired width of the slots | Components/UniformGridPanel.h |
|
| SlotPadding | FMargin | Padding given to each slot | Components/UniformGridPanel.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UUniformGridSlot * AddChildToUniformGrid
(
UWidget* Content, |
Components/UniformGridPanel.h |
|
|
float GetMinDesiredSlotHeight() |
Components/UniformGridPanel.h | ||
float GetMinDesiredSlotWidth() |
Components/UniformGridPanel.h | ||
FMargin GetSlotPadding() |
Components/UniformGridPanel.h | ||
void SetMinDesiredSlotHeight
(
float InMinDesiredSlotHeight |
Components/UniformGridPanel.h |
|
|
void SetMinDesiredSlotWidth
(
float InMinDesiredSlotWidth |
Components/UniformGridPanel.h |
|
|
void SetSlotPadding
(
FMargin InSlotPadding |
Components/UniformGridPanel.h |
|
Overridden from UWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FText GetPaletteCategory() |
Gets the palette category of the widget | Components/UniformGridPanel.h | |
virtual void SynchronizeProperties () |
Applies all properties to the native widget if possible. | Components/UniformGridPanel.h |
Overridden from UVisual
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void ReleaseSlateResources
(
bool bReleaseChildren |
Components/UniformGridPanel.h |
Protected
Overridden from UPanelWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual UClass * GetSlotClass() |
UPanelWidget. | Components/UniformGridPanel.h | |
virtual void OnSlotAdded
(
UPanelSlot* Slot |
Components/UniformGridPanel.h | ||
virtual void OnSlotRemoved
(
UPanelSlot* Slot |
Components/UniformGridPanel.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/UniformGridPanel.h |