Files
gridcraft/crates/engine/src
Vedran DobosandClaude Opus 5.5 81e523e431 AutoFit: a table's header is measured in the table style's bold font
AutoFit Column Width measured every cell in its own style, but the grid draws a table's cells in the
table style, which makes the header row bold, so a bold heading could be fitted too narrow. AutoFit
now measures a table cell in the font the table gives it. (Found by CodeRabbit on #2269.)

The table-filter AutoFit test checked the fitted column against the engine's text estimate, while
AutoFit measures with the font the grid draws (#1316); where that font is installed the estimate is
wider, so the test failed off Linux. It now measures the heading as the grid draws it, in the table
style's font.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 00:24:07 +02:00
..
2026-10-22 03:01:39 +00:00
2026-10-22 03:05:39 +00:00
2026-10-22 03:05:03 +00:00
2026-10-22 03:05:39 +00:00