mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
egui's galley cache rounded a finite wrap width to whole points and then clamped the reported width to it, so "200" (22.47 pt) laid out at 22.47 came back 22.0 and an Info readout row stacked under its label. The fork rounds to GUI_ROUNDING instead. The repin also brings next's two commits ahead of the old pin (AccessKit parent map reader, replayed widgets as used ids). Trials: ui-contract text::band (a word in room equal to its width, Wrap and Elide, at 1x and 2x) and the Info panel trial at G=200, K=44%.
5 lines
91 B
Rust
5 lines
91 B
Rust
pub(crate) mod band;
|
|
pub(crate) mod editor;
|
|
pub(crate) mod input_cap;
|
|
pub(crate) mod memo;
|