stackswitcher: Expand child buttons
authorTimm Bäder <mail@baedert.org>
Fri, 27 Aug 2021 14:37:37 +0000 (16:37 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 31 Oct 2021 21:52:04 +0000 (17:52 -0400)
Fixes #4196

gtk/gtkstackswitcher.c

index dfb584ceceb21549d7201dd237275194f13c528c..a77bca83003f30f6f1b3877136bd98f59bb2659f 100644 (file)
@@ -273,6 +273,8 @@ add_child (guint             position,
 
   button = g_object_new (GTK_TYPE_TOGGLE_BUTTON,
                          "accessible-role", GTK_ACCESSIBLE_ROLE_TAB,
+                         "hexpand", TRUE,
+                         "vexpand", TRUE,
                          NULL);
   gtk_widget_set_focus_on_click (button, FALSE);