Skip to content

Commit

Permalink
Fix Gtk.StackSwitcher margins
Browse files Browse the repository at this point in the history
  • Loading branch information
PlugaruT committed Jul 10, 2018
1 parent 560d4a8 commit f608009
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Widgets/PopoverWidget.vala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ public class SysMonitor.Widgets.PopoverWidget : Gtk.Grid {

var stack_switcher = new Gtk.StackSwitcher ();
stack_switcher.margin = 3;
stack_switcher.halign = Gtk.Align.CENTER;
stack_switcher.halign = Gtk.Align.FILL;
stack_switcher.margin_start = 15;
stack_switcher.margin_end = 15;
stack_switcher.homogeneous = true;
stack_switcher.stack = stack;

Expand Down

0 comments on commit f608009

Please sign in to comment.