class
GUIFieldBase
Inherits:
GUIElementContainer
Base class for all editor GUI fields.
All fields are a combination of an optional label and an input field.
Public
Constructors
GUIFieldBase
GUIFieldBase(const PrivatelyConstruct &dummy, const GUIContent &labelContent, u32 labelWidth, const String &labelStyle, const GUISizeConstraints &dimensions, bool withLabel)
Internal
Methods
UpdateLayoutForChildren
void UpdateLayoutForChildren() override
Calculates sizes and relative positions for all child elements.
Should be preceded with a call to UpdateOptimalLayoutSizes().
CalculateUnconstrainedOptimalSize
GUILogicalSize CalculateUnconstrainedOptimalSize() const override
Calculates the optimal size for the GUI element, ignoring size constraints.
Protected
Methods
~GUIFieldBase
virtual ~GUIFieldBase() noexcept = default