DreamGUI
Reference

UDreamLayoutContainerUniformGridPanel

UMG Uniform Grid Panel

Inherits from UDreamPanelLayoutBase.

Declared in Public/Core/Components/DreamPanelLayouts.h.

UMG Uniform Grid Panel

Properties

NameTypeCategoryIn the details panelFrom BlueprintDescription
PaddingFMarginUniformGridPanelyesSetPadding
SpacingFVector2DUniformGridPanelyesSetSpacing
MinDesiredSlotWidthfloatUniformGridPanelyesSetMinDesiredSlotWidth
MinDesiredSlotHeightfloatUniformGridPanelyesSetMinDesiredSlotHeight
SlotPaddingFMarginUniformGridPanelyesSetSlotPaddingUMG's SlotPadding: breathing room INSIDE every cell, around whatever that cell holds, and part of how big a cell has to be. Spacing next to it is the gap BETWEEN cells and no part of a cell -- the two look alike on screen and differ the moment a cell has a background.

Functions

FunctionKindDescription
void SetMinDesiredSlotHeight(float Value)callableSet Min Desired Slot Height
void SetMinDesiredSlotWidth(float Value)callableSet Min Desired Slot Width
void SetPadding(FMargin Value)callableSet Padding
void SetSlotPadding(FMargin Value)callableSet Slot Padding
void SetSpacing(FVector2D Value)callableSet Spacing

Compared with UMG

Every Blueprint-facing member of the UMG class, and where it went. adopt: same name, same meaning. map: here under another name or on another type. reject: deliberately absent, with the reason.

UMGMemberStatusHereNote
UUniformGridPanelSlotPaddingadoptSlotPaddingRoom inside every cell and part of how big a cell must be; the panel's own Spacing next to it is the gap between cells and no part of one.
UUniformGridPanelMinDesiredSlotWidthadoptMinDesiredSlotWidth
UUniformGridPanelMinDesiredSlotHeightadoptMinDesiredSlotHeight
UUniformGridPanelSetSlotPaddingadoptSetSlotPadding
UUniformGridPanelSetMinDesiredSlotWidthadoptSetMinDesiredSlotWidth
UUniformGridPanelSetMinDesiredSlotHeightadoptSetMinDesiredSlotHeight
UUniformGridPanelAddChildToUniformGridmapAddChildOne slot class here means one verb; the row and column are set on the slot it returns.

On this page