OptionsDialog: Center switch button vertically

This commit is contained in:
Philipp Hörist 2017-08-13 00:50:39 +02:00
parent 5554e99452
commit 27afece678
1 changed files with 1 additions and 0 deletions

View File

@ -3678,6 +3678,7 @@ class SwitchOption(Gtk.Grid):
self.switch.connect("notify::active", callback, *user_data)
self.switch.set_hexpand(True)
self.switch.set_halign(Gtk.Align.END)
self.switch.set_valign(Gtk.Align.CENTER)
self.add(label)
self.add(self.switch)