mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-24 11:31:28 +01:00
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.