Commit 27afece6 by Philipp Hörist

OptionsDialog: Center switch button vertically

parent 5554e994
Pipeline #66 passed with stages
in 27 seconds
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment