[gnome-software/1515-updates-spinner-is-huge: 75/75] gs-updates-page: The spinner is huge




commit b21bb53266fb3986211e8b41683bfd3476ca1f19
Author: Milan Crha <mcrha redhat com>
Date:   Wed Oct 27 12:31:50 2021 +0200

    gs-updates-page: The spinner is huge
    
    Make the spinner same size as on the other pages.
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1515

 src/gs-updates-page.ui | 6 ++++++
 src/style.css          | 4 ++--
 2 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-updates-page.ui b/src/gs-updates-page.ui
index c62942c86..2dea0ecf6 100644
--- a/src/gs-updates-page.ui
+++ b/src/gs-updates-page.ui
@@ -54,6 +54,12 @@
                         <property name="valign">center</property>
                         <child>
                           <object class="GtkSpinner" id="spinner_updates">
+                            <property name="width_request">32</property>
+                            <property name="height_request">32</property>
+                            <property name="halign">center</property>
+                            <property name="valign">center</property>
+                            <property name="hexpand">True</property>
+                            <property name="vexpand">True</property>
                             <style>
                               <class name="icon"/>
                             </style>
diff --git a/src/style.css b/src/style.css
index f21b932c9..325131b46 100644
--- a/src/style.css
+++ b/src/style.css
@@ -346,8 +346,8 @@ clamp.status-page {
 
 clamp.status-page .icon {
        color: alpha(@theme_fg_color, 0.5);
-       min-height: 128px;
-       min-width: 128px;
+       min-height: 32px;
+       min-width: 32px;
 }
 
 clamp.status-page .icon:not(:last-child) {


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