A grid item's placement and track request along one axis, plus the container's gap.
More...
#include <gui_core/style/gui_style.h>
|
| GridTrack | track = GridTrack::Default() |
| | Size the item asks for its column / row; across the items in a track, Fixed beats Fractional beats Auto, and the larger value wins.
|
| int16_t | start { kAuto } |
| | first track the item covers; kAuto = auto-place
|
| int16_t | span { 1 } |
| | tracks the item covers
|
| int16_t | gap { 0 } |
| | container: space between tracks (CSS: column-gap / row-gap)
|
|
| static constexpr int16_t | kAuto = -1 |
| | start: auto-place
|
A grid item's placement and track request along one axis, plus the container's gap.
◆ operator==()
◆ kAuto
| int16_t tachyon::GridAxisProperties::kAuto = -1 |
|
staticconstexpr |
◆ track
Size the item asks for its column / row; across the items in a track, Fixed beats Fractional beats Auto, and the larger value wins.
◆ start
| int16_t tachyon::GridAxisProperties::start { kAuto } |
first track the item covers; kAuto = auto-place
◆ span
| int16_t tachyon::GridAxisProperties::span { 1 } |
◆ gap
| int16_t tachyon::GridAxisProperties::gap { 0 } |
container: space between tracks (CSS: column-gap / row-gap)
The documentation for this struct was generated from the following file: