struct
CFlexSlot
- Module
- Miri
- Header
#include "Miri/Widgets/MFlexBox.h"- Namespace
Miri
Properties
| Type | Name | Description |
|---|---|---|
float | Grow | Default 0.0f. |
float | Shrink | Default 1.0f. |
float | Basis | Default -1.0f. |
float | MinWidth | Default 0.0f. |
float | MaxWidth | Default 0.0f. |
float | MinHeight | Default 0.0f. |
float | MaxHeight | Default 0.0f. |
float | AspectRatio | Default 0.0f. |
EFlexAlign | AlignSelf | Default EFlexAlign::Auto. |
Public functions
| Returns | Name | Description |
|---|---|---|
CFlexSlot& | SetGrow | |
CFlexSlot& | SetShrink | |
CFlexSlot& | SetBasis | |
CFlexSlot& | SetWidthRange | |
CFlexSlot& | SetHeightRange | |
CFlexSlot& | SetAspectRatio | |
CFlexSlot& | SetAlignSelf |
Function details
SetGrow
C++
CFlexSlot& SetGrow(float grow)SetShrink
C++
CFlexSlot& SetShrink(float shrink)SetBasis
C++
CFlexSlot& SetBasis(float basis)SetWidthRange
C++
CFlexSlot& SetWidthRange(float minWidth, float maxWidth)SetHeightRange
C++
CFlexSlot& SetHeightRange(float minHeight, float maxHeight)SetAspectRatio
C++
CFlexSlot& SetAspectRatio(float ratio)SetAlignSelf
C++
CFlexSlot& SetAlignSelf(EFlexAlign align)Generated from Miri/Widgets/MFlexBox.h via miri.json · Dec 5, 2026Version 1.1.0