class
GUIFlexibleSpace
Inherits:
GUIElement
GUI element that may be inserted into layouts to make a space of a flexible size.
The space will expand only if there is room and other elements are not squished because of it. If multiple flexible spaces are in a layout, their sizes will be shared equally.
Public
Constructors
GUIFlexibleSpace
GUIFlexibleSpace()
Methods
~GUIFlexibleSpace
~GUIFlexibleSpace() noexcept override = default
staticGetRttiStatic
static RTTIType *GetRttiStatic()
Internal
Methods
CalculateUnconstrainedOptimalSize
GUILogicalSize CalculateUnconstrainedOptimalSize() const override
Calculates the optimal size for the GUI element, ignoring size constraints.
CalculateConstrainedSizeRange
Calculates element size based on its optimal size constrained by its size constraint options.