Merge branch 'fix-menu-padding' into 'main'
menus: Avoid unnecessary right padding Closes #5839 See merge request GNOME/gtk!6008
This commit is contained in:
@@ -664,7 +664,7 @@ gtk_menu_section_box_new_section (GtkMenuTrackerItem *item,
|
|||||||
gtk_orientable_set_orientation (GTK_ORIENTABLE (box->item_box), GTK_ORIENTATION_HORIZONTAL);
|
gtk_orientable_set_orientation (GTK_ORIENTABLE (box->item_box), GTK_ORIENTATION_HORIZONTAL);
|
||||||
gtk_widget_add_css_class (GTK_WIDGET (box->item_box), "inline-buttons");
|
gtk_widget_add_css_class (GTK_WIDGET (box->item_box), "inline-buttons");
|
||||||
|
|
||||||
spacer = gtk_builtin_icon_new ("none");
|
spacer = gtk_gizmo_new ("none", NULL, NULL, NULL,NULL, NULL, NULL);
|
||||||
gtk_box_append (GTK_BOX (box->item_box), spacer);
|
gtk_box_append (GTK_BOX (box->item_box), spacer);
|
||||||
gtk_size_group_add_widget (box->indicators, spacer);
|
gtk_size_group_add_widget (box->indicators, spacer);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user