[epiphany/wip/exalm/tabs: 5/7] bookmarks-properties-grid: Center-align the close button




commit d1c9406d5cc79238b9ae4e5ab998b8cdbf507c2c
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jan 28 03:00:36 2021 +0500

    bookmarks-properties-grid: Center-align the close button

 src/bookmarks/ephy-bookmark-properties-grid.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/bookmarks/ephy-bookmark-properties-grid.c b/src/bookmarks/ephy-bookmark-properties-grid.c
index 9cc866db7..6b3e60304 100644
--- a/src/bookmarks/ephy-bookmark-properties-grid.c
+++ b/src/bookmarks/ephy-bookmark-properties-grid.c
@@ -198,6 +198,7 @@ ephy_bookmark_properties_grid_create_tag_widget (EphyBookmarkPropertiesGrid *sel
     gtk_button_set_image (GTK_BUTTON (button),
                           gtk_image_new_from_icon_name ("window-close-symbolic",
                                                         GTK_ICON_SIZE_MENU));
+    gtk_widget_set_valign (button, GTK_ALIGN_CENTER);
     gtk_button_set_relief (GTK_BUTTON (button), GTK_RELIEF_NONE);
     gtk_widget_set_can_focus (button, FALSE);
     gtk_box_pack_end (GTK_BOX (box), button, FALSE, FALSE, 0);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]