#include <juce_GridItem.h>
Defines an item in a Grid
- See also
- Grid
@tags{GUI}
◆ anonymous enum
| Enumerator |
|---|
| useDefaultValue | |
| notAssigned | |
◆ AlignSelf
| enum class juce::GridItem::AlignSelf : int |
|
strong |
Possible values for the alignSelf property.
| Enumerator |
|---|
| start | Content inside the item is aligned towards the top.
|
| end | Content inside the item is aligned towards the bottom.
|
| center | Content inside the item is aligned towards the center.
|
| stretch | Content inside the item is stretched from top to bottom.
|
| autoValue | Follows the Grid container's alignItems property.
|
◆ JustifySelf
| enum class juce::GridItem::JustifySelf : int |
|
strong |
Possible values for the justifySelf property.
| Enumerator |
|---|
| start | Content inside the item is justified towards the left.
|
| end | Content inside the item is justified towards the right.
|
| center | Content inside the item is justified towards the center.
|
| stretch | Content inside the item is stretched from left to right.
|
| autoValue | Follows the Grid container's justifyItems property.
|
◆ Keyword
| enum class juce::GridItem::Keyword |
|
strong |
◆ GridItem() [1/3]
| juce::GridItem::GridItem |
( |
| ) |
|
|
defaultnoexcept |
Creates an item with default parameters.
◆ GridItem() [2/3]
| juce::GridItem::GridItem |
( |
Component & | componentToUse | ) |
|
|
noexcept |
Creates an item with a given Component to use.
◆ GridItem() [3/3]
| juce::GridItem::GridItem |
( |
Component * | componentToUse | ) |
|
|
noexcept |
Creates an item with a given Component to use.
◆ setArea() [1/3]
◆ setArea() [2/3]
Short-hand, span of 1 by default
◆ setArea() [3/3]
◆ withAlignSelf()
Returns a copy of this object with a new alignSelf property.
◆ withArea() [1/3]
◆ withArea() [2/3]
Short-hand, span of 1 by default
◆ withArea() [3/3]
◆ withColumn()
Returns a copy of this object with a new column property.
◆ withHeight()
| GridItem juce::GridItem::withHeight |
( |
float | newHeight | ) |
const |
|
noexcept |
Returns a copy of this object with a new height.
◆ withJustifySelf()
Returns a copy of this object with a new justifySelf property.
◆ withMargin()
Returns a copy of this object with a new margin.
◆ withOrder()
| GridItem juce::GridItem::withOrder |
( |
int | newOrder | ) |
const |
|
noexcept |
Returns a copy of this object with a new order.
◆ withRow()
Returns a copy of this object with a new row property.
◆ withSize()
| GridItem juce::GridItem::withSize |
( |
float | newWidth, |
|
|
float | newHeight ) const |
|
noexcept |
Returns a copy of this object with a new size.
◆ withWidth()
| GridItem juce::GridItem::withWidth |
( |
float | newWidth | ) |
const |
|
noexcept |
Returns a copy of this object with a new width.
◆ alignSelf
This is the align-self property of the item. This determines the alignment of the item along the column.
◆ area
◆ associatedComponent
If this is non-null, it represents a Component whose bounds are controlled by this item.
◆ column
These are the start and end properties of the column.
◆ currentBounds
| Rectangle<float> juce::GridItem::currentBounds |
The item's current bounds.
◆ height
◆ justifySelf
This is the justify-self property of the item. This determines the alignment of the item along the row.
◆ margin
The margin to leave around this item.
◆ maxHeight
◆ maxWidth
◆ minHeight
| float juce::GridItem::minHeight = 0.0f |
◆ minWidth
| float juce::GridItem::minWidth = 0.0f |
◆ order
| int juce::GridItem::order = 0 |
Determines the order used to lay out items in their grid container.
◆ row
These are the start and end properties of the row.
◆ width
The documentation for this class was generated from the following files:
- /home/runner/work/lmms-fork/lmms-fork/plugins/CarlaBase/carla/source/modules/juce_gui_basics/layout/juce_GridItem.h
- /home/runner/work/lmms-fork/lmms-fork/plugins/CarlaBase/carla/source/modules/juce_gui_basics/layout/juce_GridItem.cpp