Sparse style sizing; legacy min-width remains solely in minWidth.
More...
#include <style_types.hpp>
|
|
std::optional< StyleAxisSize > | width |
| | Horizontal mode request.
|
|
std::optional< StyleAxisSize > | height |
| | Vertical mode request.
|
|
std::optional< std::int32_t > | maxWidth |
| | Inclusive nonnegative column cap.
|
|
std::optional< std::int32_t > | minHeight |
| | Nonnegative hard row minimum.
|
|
std::optional< std::int32_t > | maxHeight |
| | Inclusive nonnegative row cap.
|
Sparse style sizing; legacy min-width remains solely in minWidth.
◆ operator==()
| bool portals::StyleSizing::operator== |
( |
const StyleSizing & | other | ) |
const |
|
constexprdefault |
- Parameters
-
| other | Sparse constraints to compare. |
- Returns
- Whether every leaf agrees.
The documentation for this struct was generated from the following file: