[gnome-software/wip/hughsie/margin: 2/2] Fix the button size mismatch in the updates panel



commit b382f8f37b9d60c76fc4308bf055aec5237a7cfd
Author: Richard Hughes <richard hughsie com>
Date:   Mon Jul 15 13:09:18 2019 +0100

    Fix the button size mismatch in the updates panel
    
    Fixes https://gitlab.gnome.org/GNOME/gnome-software/issues/671

 src/gs-app-row.ui        | 1 -
 src/gs-updates-section.c | 2 --
 2 files changed, 3 deletions(-)
---
diff --git a/src/gs-app-row.ui b/src/gs-app-row.ui
index 7a59bcf1..3613c68d 100644
--- a/src/gs-app-row.ui
+++ b/src/gs-app-row.ui
@@ -222,7 +222,6 @@
                  <object class="GsProgressButton" id="button">
                     <property name="visible">False</property>
                     <property name="width_request">100</property>
-                    <property name="margin-right">6</property>
                     <property name="halign">end</property>
                  </object>
                  <packing>
diff --git a/src/gs-updates-section.c b/src/gs-updates-section.c
index 5806371a..2743ecc9 100644
--- a/src/gs-updates-section.c
+++ b/src/gs-updates-section.c
@@ -456,7 +456,6 @@ _build_section_header (GsUpdatesSection *self)
                          self);
        gtk_stack_add_named (self->button_stack, self->button_download, "download");
        gtk_widget_set_visible (self->button_download, TRUE);
-       gtk_widget_set_margin_end (self->button_download, 6);
 
        /* add update button */
        self->button_update = gs_progress_button_new ();
@@ -467,7 +466,6 @@ _build_section_header (GsUpdatesSection *self)
                          self);
        gtk_stack_add_named (self->button_stack, self->button_update, "update");
        gtk_widget_set_visible (self->button_update, TRUE);
-       gtk_widget_set_margin_end (self->button_update, 6);
 
        /* add cancel button */
        self->button_cancel = gs_progress_button_new ();


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