mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 04:04:25 +00:00
A grid's measuring run measures each content column in the room the other columns leave at their least. When the columns do not fit beside each other, it asks every column for its least in a probe sweep (every leaf at its least, no column bounded) and measures once more: a content column in the room the others leave at their least, a fill column never below its least. Columns whose leasts do not fit beside each other are laid out one under another across the room, so no column is cut. The leasts and the stacked layout are recorded for the real run. A wrapped text's least is its widest word: a line breaks between words. FontsPanelView's list column and ColorPicker Full's channel column no longer collapse at card width.
10 lines
138 B
Rust
10 lines
138 B
Rust
mod fill_column;
|
|
mod fill_share;
|
|
mod fonts;
|
|
mod grid_least;
|
|
mod nested;
|
|
mod room_height;
|
|
mod row_room;
|
|
mod rtl_scroll;
|
|
mod scroll_region;
|