ui: don't stretch toggles

This commit is contained in:
Peter F. Patel-Schneider 2021-12-29 09:54:06 -05:00
parent 65e64c1346
commit f7a0422956
1 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,8 @@ def _create_toggle_control(setting):
c = Gtk.Switch()
c.connect('notify::active', _switch_notify, setting)
c.set_valign(Gtk.Align.CENTER)
c.set_halign(Gtk.Align.CENTER)
return c