[gtk/wip/baedert/for-master: 171/171] stackswitcher: Expand child buttons




commit 00a1210d70f8882596eb9b8d566ca480b7b6e9d0
Author: Timm Bäder <mail baedert org>
Date:   Fri Aug 27 16:37:37 2021 +0200

    stackswitcher: Expand child buttons
    
    Fixes #4196

 gtk/gtkstackswitcher.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/gtk/gtkstackswitcher.c b/gtk/gtkstackswitcher.c
index dfb584cece..a77bca8300 100644
--- a/gtk/gtkstackswitcher.c
+++ b/gtk/gtkstackswitcher.c
@@ -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);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]