Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObject
- UVisual
- UWidget
- UPanelWidget
- UUniformGridPanel
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/UniformGridPanel.h |
| Include | #include "Components/UniformGridPanel.h" |
Syntax
UCLASS (MinimalAPI)
class UUniformGridPanel : public UPanelWidget
Remarks
A panel that evenly divides up available space between all of its children.
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | MinDesiredSlotHeight | The minimum desired height of the slots | |
| float | MinDesiredSlotWidth | The minimum desired width of the slots | |
| TSharedPtr< SUniformGridPanel > | MyUniformGridPanel | ||
| FMargin | SlotPadding | Padding given to each slot |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UUniformGridPanel
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UUniformGridSlot * | AddChildToUniformGrid
(
UWidget* Content, |
||
| float | |||
| float | |||
| FMargin | |||
| void | SetMinDesiredSlotHeight
(
float InMinDesiredSlotHeight |
||
| void | SetMinDesiredSlotWidth
(
float InMinDesiredSlotWidth |
||
| void | SetSlotPadding
(
FMargin InSlotPadding |
Overridden from UPanelWidget
| Type | Name | Description | |
|---|---|---|---|
| UClass * | GetSlotClass () |
UPanelWidget. | |
| void | OnSlotAdded
(
UPanelSlot* Slot |
||
| void | OnSlotRemoved
(
UPanelSlot* Slot |
Overridden from UWidget
| Type | Name | Description | |
|---|---|---|---|
| const FText | Gets the palette category of the widget | ||
| TSharedRef< SWidget > | Function implemented by all subclasses of UWidget is called when the underlying SWidget needs to be constructed. | ||
| void | Applies all properties to the native widget if possible. |
Overridden from UVisual
| Type | Name | Description | |
|---|---|---|---|
| void | ReleaseSlateResources
(
bool bReleaseChildren |