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



commit c7575520cb389ada65fc64e2b537b0809eb40cd5
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/gtk-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 fc4d0def0..43f4556fe 100644
--- a/src/gs-updates-page.ui
+++ b/src/gs-updates-page.ui
@@ -74,6 +74,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/gtk-style.css b/src/gtk-style.css
index b15262566..b4d6a6186 100644
--- a/src/gtk-style.css
+++ b/src/gtk-style.css
@@ -670,8 +670,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:backdrop {


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