Navigation
API > API/Runtime > API/Runtime/Slate
!!!!!!!!!!!!!!!!! EXPERIMENTAL !!!!!!!!!!!!!!!!! The SResponsiveGridPanel is still in development and the API may change drastically in the future or maybe removed entirely.
| Name | SResponsiveGridPanel |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Layout/SResponsiveGridPanel.h |
| Include Path | #include "Widgets/Layout/SResponsiveGridPanel.h" |
Syntax
class SResponsiveGridPanel : public SPanel
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SPanel → SResponsiveGridPanel
- FSlateControlledConstruction → SWidget → SPanel → SResponsiveGridPanel
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
SResponsiveGridPanel() |
!!!!!!!!!!!!!!!!! EXPERIMENTAL !!!!!!!!!!!!!!!!! | Widgets/Layout/SResponsiveGridPanel.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~SResponsiveGridPanel() |
Widgets/Layout/SResponsiveGridPanel.h |
Classes
| Name | Remarks |
|---|---|
| FSlot |
Structs
| Name | Remarks |
|---|---|
| FArguments |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FScopedWidgetSlotArguments | TPanelChildren< FSlot >::FScopedWidgetSlotArguments | Widgets/Layout/SResponsiveGridPanel.h | |
| PrivateParentType | SPanel | Widgets/Layout/SResponsiveGridPanel.h | |
| PrivateThisType | SResponsiveGridPanel | Widgets/Layout/SResponsiveGridPanel.h | |
| Super | SPanel | Widgets/Layout/SResponsiveGridPanel.h | |
| ThisClass | SResponsiveGridPanel | Widgets/Layout/SResponsiveGridPanel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ColumnGutter | float | Widgets/Layout/SResponsiveGridPanel.h | ||
| PreviousWidth | float | Widgets/Layout/SResponsiveGridPanel.h | ||
| RowFillCoefficients | TArray< float > | Fill coefficients for the rows | Widgets/Layout/SResponsiveGridPanel.h | |
| RowGutter | float | Widgets/Layout/SResponsiveGridPanel.h | ||
| Slots | TPanelChildren< FSlot > | The rows | Widgets/Layout/SResponsiveGridPanel.h | |
| TotalColumns | int32 | Widgets/Layout/SResponsiveGridPanel.h | ||
| TotalDesiredSizes | FVector2D | Total desires size along each axis. | Widgets/Layout/SResponsiveGridPanel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FScopedWidgetSlotArguments AddSlot
(
int32 Row |
Widgets/Layout/SResponsiveGridPanel.h | ||
void ClearChildren() |
Removes all rows from the panel | Widgets/Layout/SResponsiveGridPanel.h | |
void Construct
(
const FArguments& InArgs, |
Widgets/Layout/SResponsiveGridPanel.h | ||
bool RemoveSlot
(
const TSharedRef< SWidget >& SlotWidget |
Widgets/Layout/SResponsiveGridPanel.h | ||
void SetRowFill
(
int32 RowId, |
Widgets/Layout/SResponsiveGridPanel.h |
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CacheDesiredSize
(
float |
Widgets/Layout/SResponsiveGridPanel.h | ||
virtual FChildren * GetChildren() |
Widgets/Layout/SResponsiveGridPanel.h | ||
virtual void OnArrangeChildren
(
const FGeometry& AllottedGeometry, |
Widgets/Layout/SResponsiveGridPanel.h | ||
virtual int32 OnPaint
(
const FPaintArgs& Args, |
Widgets/Layout/SResponsiveGridPanel.h |
Overridden from FSlateControlledConstruction
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const FSlateWidgetClassData & GetWidgetClass() |
Widgets/Layout/SResponsiveGridPanel.h |
Protected
Overridden from SWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual FVector2D ComputeDesiredSize
(
float |
Widgets/Layout/SResponsiveGridPanel.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ComputePartialSums
(
TArray< float >& TurnMeIntoPartialSums |
Given an array of values, re-populate the array such that every contains the partial sums up to that element. | Widgets/Layout/SResponsiveGridPanel.h | |
static void DistributeSizeContributions
(
float SizeContribution, |
Given a SizeContribution, distribute it to the elements in DistributeOverMe at indexes from [StartIndex .. UpperBound) | Widgets/Layout/SResponsiveGridPanel.h | |
static const FSlateWidgetClassData & GetPrivateWidgetClass() |
Widgets/Layout/SResponsiveGridPanel.h | ||
static SLATE_API void PrivateRegisterAttributes
(
FSlateAttributeInitializer& |
Widgets/Layout/SResponsiveGridPanel.h | ||
static FSlot::FSlotArguments Slot
(
int32 Row |
Used by declarative syntax to create a Slot | Widgets/Layout/SResponsiveGridPanel.h | |
static const FSlateWidgetClassData & StaticWidgetClass() |
Widgets/Layout/SResponsiveGridPanel.h |