Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UVisual
- UWidget
- UPanelWidget
- UUniformGridPanel
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
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< SUniformGridPanel > | MyUniformGridPanel |
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 |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| float | MinDesiredSlotHeight | Direct access to MinDesiredSlotHeight is deprecated. Please use the getter or setter. | |
| float | MinDesiredSlotWidth | Direct access to MinDesiredSlotWidth is deprecated. Please use the getter or setter. | |
| FMargin | SlotPadding | Direct access to SlotPadding is deprecated. Please use the getter or setter. |