44 FlexItem (
float width,
float height)
noexcept;
50 FlexItem (
float width,
float height,
FlexBox& flexBoxToControl)
noexcept;
79 float flexGrow = 0.0f;
85 float flexShrink = 1.0f;
91 float flexBasis = 0.0f;
111 static const int autoValue = -2;
113 static const int notAssigned = -1;
116 float minWidth = 0.0f;
117 float maxWidth = (
float) notAssigned;
120 float minHeight = 0.0f;
121 float maxHeight = (
float) notAssigned;
127 Margin (
float size)
noexcept;
128 Margin (
float top,
float right,
float bottom,
float left)
noexcept;
141 FlexItem withFlex (
float newFlexGrow)
const noexcept;
144 FlexItem withFlex (
float newFlexGrow,
float newFlexShrink)
const noexcept;
147 FlexItem withFlex (
float newFlexGrow,
float newFlexShrink,
float newFlexBasis)
const noexcept;
150 FlexItem withWidth (
float newWidth)
const noexcept;
153 FlexItem withMinWidth (
float newMinWidth)
const noexcept;
156 FlexItem withMaxWidth (
float newMaxWidth)
const noexcept;
159 FlexItem withHeight (
float newHeight)
const noexcept;
162 FlexItem withMinHeight (
float newMinHeight)
const noexcept;
165 FlexItem withMaxHeight (
float newMaxHeight)
const noexcept;
171 FlexItem withOrder (
int newOrder)
const noexcept;
The base class for all JUCE user-interface objects.
Represents a FlexBox container, which contains and manages the layout of a set of FlexItem objects.
Describes the properties of an item inside a FlexBox container.
AlignSelf
Possible value for the alignSelf property.
Rectangle< float > currentBounds
The item's current bounds.
Margin margin
The margin to leave around this item.
Manages a rectangle and allows geometric operations to be performed on it.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
float right
Right margin size.
float left
Left margin size.
float bottom
Bottom margin size.
float top
Top margin size.