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




commit 136a3f6e5aaddd8ba1c42cbce7633187b2bca1b6
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]