Skip to content

Commit

Permalink
Fix switcher size
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Dec 21, 2023
1 parent 0587328 commit 1abd00d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Plug.vala
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ public class About.Plug : Switchboard.Plug {
stack = stack
};

var size_group = new Gtk.SizeGroup (HORIZONTAL);
var child = stack_switcher.get_first_child ();
while (child != null) {
size_group.add_widget (child);
child = child.get_next_sibling ();
}

main_grid = new Gtk.Grid () {
row_spacing = 12
};
Expand Down

0 comments on commit 1abd00d

Please sign in to comment.