Repository navigation
Grid picker cells: revert uneven padding, uniform 3px margins - #480
Conversation
|
beta.16 investigation: the chip (the theme's |
eb5f4cf to
03fa002
Compare
|
Correction to the first attempt: |
The chip is the theme's painting of the gridview > child node, which
spans the whole cell, and GtkListItem is not a widget — margins can't
be set from Rust at all. Inner-box margins (beta.16 report) only inset
content inside the chip. Ship a small app stylesheet rule instead:
gridview > child { margin: 3px } on the same node, loaded once per
display. 3px = 6px gap between cells on both axes, the GNOME rhythm.
03fa002 to
c6a3dee
Compare
Supersedes #478. Uniform 3px margins on all sides of the factory cell box — GridView has no spacing properties, the child margins are the only inter-cell gap mechanism (libadwaita paints
gridview > child:selectedover the whole cell). 3px everywhere = 6px gap on both axes, matching GNOME's 6px spacing rhythm; #478's 4/6 split produced unequal 8/12px gaps.