cozy icon indicating copy to clipboard operation
cozy copied to clipboard

Huge grid gaps

Open bertob opened this issue 2 years ago • 2 comments

The current grid layout looks pretty broken at many window sizes, because the gaps between cards are huge:

cozy-grid2

Ideally the spacing between and around columns should be fixed (probably 12px), and their size should dynamically change to fill the entire width given the current number of cards that can fit with the minimum card size.

I've also noticed that some cards are wider than the rest (I assume due to the title string?), which probably contributes to the column gap issue.

System Information

  • Operating System: Fedora 34
  • Installation source: Flathub
  • Version of cozy: 1.1.2

bertob avatar Aug 23 '21 14:08 bertob

Thanks for your feedback :) Gtk.Image doesn't support responsive scaling out of the box. Therefor I'll need to have a look how this is even possible to implement. Do you know a Gtk app that does resize images according to window size? As to different card sizes: this is definitely something that shouldn't occur.

geigi avatar Oct 24 '21 13:10 geigi

FYI: This will be fixed with GTK4 as it supports this natively.

geigi avatar Feb 27 '22 16:02 geigi