Skip to content

Commit

Permalink
Switch: valign center (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit authored and codygarver committed Oct 1, 2018
1 parent 6284121 commit c0e3cab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Widgets/Switch.vala
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2011-2015 Wingpanel Developers (http://launchpad.net/wingpanel)
* Copyright (c) 2011-2018 elementary, Inc. (https://elementary.io)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public
Expand Down Expand Up @@ -51,6 +51,7 @@ public class Wingpanel.Widgets.Switch : Container {
button_switch.halign = Gtk.Align.END;
button_switch.margin_end = 6;
button_switch.hexpand = true;
button_switch.valign = Gtk.Align.CENTER;

button_label = new Gtk.Label (null);
button_label.halign = Gtk.Align.START;
Expand Down

0 comments on commit c0e3cab

Please sign in to comment.