Files
vectorcraft/crates/ui-egui
dotCooCoo 2defb49002 Font menu: one wide layout wherever it opens, with larger samples
The font menu opened at its field's width, so from the Control bar's narrow
Character field the filters wrapped one chip per line and family names were
cut off after a few letters.

- The filters keep the same four rows wherever the menu opens: the scripts;
  the star, Any Kind, Serif / Mincho, Sans Serif / Gothic and Rounded;
  Script / Brush, Monospaced and Decorative; Font Technology with Variable.
- The menu opens at least wide enough for those rows and for a family name
  up to 220 points wide with room for its sample, up to 60% of the window,
  and stays in the window. A field wider than that keeps its width.
- Where the row has room, the sample starts after the widest name instead of
  halfway along the row. It takes the row's whole height instead of 4 points
  less, so samples draw larger at every Font Preview Size.

Requested by POGO.
2026-11-12 08:06:24 -08:00
..
…