[libgd/wip/rishi/letterbox: 3/3] main-icon-box-child: Remove the margin-bottom from the GtkOverlay



commit ec8d286215518e9ff52375070156f640a2660569
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Feb 21 19:14:56 2017 +0100

    main-icon-box-child: Remove the margin-bottom from the GtkOverlay
    
    The margin-bottom was preventing the icon from being centred, and it
    looks bad when the grid is letterboxed.
    
    The intention was to add some spacing between the icon and the first
    row of text. However, current users of this widget are not showing any
    text, and this is best done by the theme.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=779032

 libgd/gd-main-icon-box-child.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libgd/gd-main-icon-box-child.c b/libgd/gd-main-icon-box-child.c
index 076ae3b..3fc01b9 100644
--- a/libgd/gd-main-icon-box-child.c
+++ b/libgd/gd-main-icon-box-child.c
@@ -184,7 +184,6 @@ gd_main_icon_box_child_update_layout (GdMainIconBoxChild *self)
   gtk_container_add (GTK_CONTAINER (self), grid);
 
   overlay = gtk_overlay_new ();
-  gtk_widget_set_margin_bottom (overlay, 4);
   gtk_container_add (GTK_CONTAINER (grid), overlay);
 
   surface = gd_main_box_item_get_icon (priv->item);


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