diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-12-29 12:10:35 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-12-29 12:10:35 -0500 |
commit | 0d54d73a51394f4cd348bd9b1a0504762feda419 (patch) | |
tree | 59496aa0cc3ddbea2d9fe536e035b3a1e1469a37 | |
parent | 1758f88492a1d46693931edc67f53d6fa6c1c46b (diff) | |
download | gtk+-0d54d73a51394f4cd348bd9b1a0504762feda419.tar.gz |
Fix menu item alignment with submenus
We were not aligning model button labels with nesting
submenus with indicators in their containing menu.
This was visible in the application demo of gtk4-demo.
-rw-r--r-- | gtk/gtkmenusectionbox.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkmenusectionbox.c b/gtk/gtkmenusectionbox.c index 332252bb51..6210119c35 100644 --- a/gtk/gtkmenusectionbox.c +++ b/gtk/gtkmenusectionbox.c @@ -319,6 +319,7 @@ gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item, widget = g_object_new (GTK_TYPE_MODEL_BUTTON, "popover", submenu, + "indicator-size-group", box->indicators, NULL); g_object_bind_property (item, "label", widget, "text", G_BINDING_SYNC_CREATE); g_object_bind_property (item, "icon", widget, "icon", G_BINDING_SYNC_CREATE); |