Files
figcraft/docs
叶林橦 3ab918dc52 M4: land the Design panel's grid on main's split panels
main split `right.rs`, `typography.rs` and `layout_panel.rs` into `panels/`
(the right panel's sections in `panels/right/{paints,stroke,effects,inspect,menu}`,
the Type section in `panels/typography/`). This merges that refactor with the
panel grid, so the grid's numbers now live where the code does:

- rows inset 16 from the left and 8 from the right (`block`, `sublabels`);
- two 88 pt columns with 8 pt gutters and a 24 pt button column at a row's end
  (`col_width`, the stroke's align/weight pair, the effect and grid rows);
- a row's two buttons are one group on the right edge, 24 each, 4 apart
  (`widgets::tight_end` in the paint, effect and grid rows);
- section headers: the last icon ends 8 pt from the edge, icons 28 apart;
- the right panel's frame keeps no stroke (a stroke counts as margin and took
  1 pt off each side); its edge is drawn in `right_panel`.

Widget text stays at 11 pt, the size the app we match uses: the merge keeps
main's type throughout (section titles 11 pt, now regular; captions 10 pt) and
changes geometry only. The Type section's size field follows the new column.

`cargo test -p figcraft-ui-egui`: 814 + 8 + 1 pass; fmt and clippy clean.
2026-10-27 10:13:28 +08:00
..
2026-10-27 01:06:45 +07:00
2026-10-26 23:23:07 +07:00
2026-10-27 00:30:42 +07:00
2026-10-26 11:14:49 +07:00
2026-10-26 09:19:49 +07:00
2026-10-27 00:30:42 +07:00
2026-10-26 11:14:49 +07:00