elementary / granite

Library that extends GTK with common widgets and utilities
https://elementary.io
GNU Lesser General Public License v3.0
280 stars 61 forks source link

SwitchModelButton: use box layout #709

Closed danirabbit closed 5 months ago

danirabbit commented 5 months ago

Gtk.ModelButton is a box layout, not a bin layout. Using a box layout here means we can re-use the same border spacing from Gtk.ModelButton instead of hardcoding it

BEFORE

Screenshot from 2024-03-22 09 45 17

AFTER

Screenshot from 2024-03-22 09 41 46