Flex / grid properties and CSS sizes of a style. Sizes are in CSS px in a Style.
More...
#include <gui_core/style/gui_style.h>
|
| static constexpr int32_t | kAutoSize = -1 |
| | width / height 'auto'
|
| static constexpr int32_t | kUnboundedMax = std::numeric_limits<int32_t>::max() |
| | no max-width / max-height
|
Flex / grid properties and CSS sizes of a style. Sizes are in CSS px in a Style.
◆ operator==()
| bool tachyon::LayoutData::operator== |
( |
const LayoutData & | | ) |
const |
|
defaultnoexcept |
◆ flex
used when display is Flex (and by flex items)
◆ grid
used when display is Grid (and by grid items)
◆ kAutoSize
| int32_t tachyon::LayoutData::kAutoSize = -1 |
|
staticconstexpr |
◆ kUnboundedMax
| int32_t tachyon::LayoutData::kUnboundedMax = std::numeric_limits<int32_t>::max() |
|
staticconstexpr |
no max-width / max-height
◆ width
| int32_t tachyon::LayoutData::width = kAutoSize |
◆ height
| int32_t tachyon::LayoutData::height = kAutoSize |
◆ minWidth
| int32_t tachyon::LayoutData::minWidth = 0 |
◆ maxWidth
◆ minHeight
| int32_t tachyon::LayoutData::minHeight = 0 |
◆ maxHeight
The documentation for this struct was generated from the following file: