Files
craft-libs/crates
dotCooCoo 7e3945ec4e ui-widgets: a derived number field shows its reading whole inside the field
A number field gives a value wider than its text area some of its padding
back. It measured that value as the plain number, so a derived value,
which reads in parentheses with its unit, kept the full padding and its
closing parenthesis was cut. In the number_field_derived story at compact
size, "(12.5 pt)" is 62.3 pt wide in a 60 pt clip.

The field now measures a derived value as it shows at rest. Its reading
takes the padding it needs, as a longer number does, and the field keeps
its width. A field whose value fits is laid out as before.
2026-11-25 02:47:57 -08:00
..
…
2026-11-21 21:26:02 +07:00
…
…
…
2026-11-19 13:06:40 +01:00
…
…
…
…
…
2026-11-19 12:57:10 +01:00
…
…
…
…
…
2026-11-19 12:56:29 +01:00
…
2026-11-19 13:06:16 +01:00
2026-11-19 13:05:21 +01:00
…
2026-11-19 13:07:16 +01:00
2026-11-19 13:05:56 +01:00
…
…