mirror of
https://github.com/storytold/wordcraft.git
synced 2026-12-02 10:47:02 -06:00
In Insert › Chart and Change Chart Type dialogs (dialogs_chart.rs), the chart types TileGrid configured a 3-column gallery without thumbnail sizing, causing tiles to expand to the default card size (128 pt compact / 160 pt comfortable, resulting in ~132×104 pt cells). This caused the 3-column grid to balloon over ~420 pt in width, crowding the modal dialog. Configure .thumb_size(ThumbSize::Large).zoom(1.6).aspect(19.0 / 15.0) on the chart types TileGrid, producing ~76.8×60.6 pt preview pictures in ~85×87 pt cells within a ~280 pt grid, matching pre-refactor parity (~112×92 pt cells with 76×60 pt preview pictures). Add a regression test verifying cell and grid bounds.