|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
Owning automatic-placement settings; counts are distinct from GridOptions track policies. More...
#include <grid.hpp>
Public Attributes | |
| std::optional< std::size_t > | columns |
| Required for row-major flow; otherwise inferred within the budget. | |
| std::optional< std::size_t > | rows |
| Required for column-major flow; otherwise inferred within the budget. | |
| GridFlow | flow {GridFlow::ROW_MAJOR} |
| Forward-only search; explicit rectangles are reserved first. | |
| std::int32_t | columnGap {} |
| Nonnegative terminal cells between columns. | |
| std::int32_t | rowGap {} |
| Nonnegative terminal cells between rows. | |
| LayoutPadding | padding |
| Nonnegative content insets. | |
| std::size_t | maxTracksPerAxis {4096} |
| Positive bound on either resolved axis, including empty tracks. | |
| std::size_t | maxPlacements {4096} |
| Positive bound on structural children, including hidden children. | |
| std::size_t | maxPlacementWork {65536} |
| Positive total bound on candidates, occupancy probes and reservations. | |
| bool | regions {} |
| Header/body have separate row occupancy and require explicit columns. | |
| bool | stickyHeader {} |
| Header remains fixed vertically when scrolling is enabled. | |
Owning automatic-placement settings; counts are distinct from GridOptions track policies.