mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-17 00:34:25 +00:00
`Metrics::least_width` is the floor a least measure takes in place of `min_size`'s width. A field keeps its 96-point floor where it takes its own width and, in a row that shrinks it, narrows to its padding and one glyph plus what its content measure adds there (a select face's ellipsis and chevron, a text field's adornments). A short row takes its shortfall from every unit in proportion to what each can give, so all reach their least together.