SwayNotificationCenter icon indicating copy to clipboard operation
SwayNotificationCenter copied to clipboard

add settings to center buttons-grid

Open rtgiskard opened this issue 1 year ago • 2 comments

buttonsGrid is using flowbox as the container, with default halign set to FILL, for which users have to tweak the button size to make it really fill the space or it will not be centered.

This adds options to make the buttonGrid centered properly

rtgiskard avatar May 13 '24 09:05 rtgiskard

Would be great if the column min/max wouldn't be needed, but that's sadly just how GTK works...

Not sure how one would fix this without needing those config properties. Any ideas?

Maybe use some other container other than flowbox. Anyway, for flowbox, align to center seems to require set_min_children_per_line() to be set properly.

rtgiskard avatar Jul 12 '24 15:07 rtgiskard

For future reference: Here's something that would work as a replacement https://gitlab.gnome.org/GNOME/libadwaita/-/merge_requests/219

ErikReider avatar Oct 08 '24 22:10 ErikReider