[gtk/gtk-4-4] stackswitcher: Expand child buttons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-4-4] stackswitcher: Expand child buttons
- Date: Sun, 31 Oct 2021 21:52:13 +0000 (UTC)
commit 252ce5a5c75d2333a995b1a72ae3d98f32af781d
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]