Skip to main content

Module widgets

Module widgets 

Source
Expand description

Layout math for ROSACE (D095).

The element-based widget structs were removed — rosace-widgets::tree is the canonical widget set. This crate keeps the pure algorithms: flex (layout_column/layout_row), grid, wrap, aspect_ratio.

Modules§

aspect_ratio
AspectRatio — constrains a child to a fixed width-to-height ratio.
flex
Flex — the generic flex container used internally by Column and Row.
grid
Grid — a fixed-column grid layout.
wrap
Wrap — a wrapping layout that flows children into multiple rows.