Files
craft-libs/crates/ui-patterns
aiongg b83509532e Preset picker: the caption range sizes the field as a number field does
The field measured its face over both formatted ends of the range, in the
caption's proportional figures, so a value between them could still be wider
(4888 beside 5000) and change the chip's width. caption_range now names the
numeric range and decimal places of the caption; the field measures with
NumberCodec::widest of that range, and a face's thumbnail caption shows in
tabular figures, so the widest text is the widest number whatever its digits.
BrushPresetPicker writes its caption with the same codec.

Part of storytold/photocraft#15476, for storytold/photocraft#15859.
2026-11-20 04:39:56 +00:00
..