summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2021-08-27 16:37:37 +0200
committerTimm Bäder <mail@baedert.org>2021-09-18 08:29:18 +0200
commit136a3f6e5aaddd8ba1c42cbce7633187b2bca1b6 (patch)
treeb39788e1ed5fe247a5ca3ac9369f95c4aca2c349
parent2bc82da34deff52c3d9ad953903f62bac6a5075e (diff)
downloadgtk+-136a3f6e5aaddd8ba1c42cbce7633187b2bca1b6.tar.gz
stackswitcher: Expand child buttons
Fixes #4196
-rw-r--r--gtk/gtkstackswitcher.c2
1 files changed, 2 insertions, 0 deletions
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);