[gnome-software/1501-updates-page-emtpy-state-papercuts] gs-updates-page: Tweak appearance of the up-to-date box



commit 84c89909a142f376f2eb09957e0a0238e3ee9b69
Author: Milan Crha <mcrha redhat com>
Date:   Tue Oct 26 12:34:42 2021 +0200

    gs-updates-page: Tweak appearance of the up-to-date box
    
    Two changes:
    * make the image size only 300px, to not influence the minimum window width
    * center the content vertically, instead of placing it at the top
    
    Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1501

 src/gs-updates-page.ui | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/src/gs-updates-page.ui b/src/gs-updates-page.ui
index fc4d0def0..5d12c6779 100644
--- a/src/gs-updates-page.ui
+++ b/src/gs-updates-page.ui
@@ -176,6 +176,8 @@
                       <object class="GtkScrolledWindow">
                         <property name="hscrollbar-policy">never</property>
                         <property name="propagate-natural-height">True</property>
+                        <property name="vexpand">True</property>
+                        <property name="valign">center</property>
                         <style>
                           <class name="fake-adw-status-page"/>
                         </style>
@@ -191,7 +193,7 @@
                                     <property name="valign">center</property>
                                     <child>
                                       <object class="GtkImage">
-                                        <!--><property name="pixel-size">400</property>-->
+                                        <property name="pixel-size">300</property>
                                         <property 
name="resource">/org/gnome/Software/up-to-date.svg</property>
                                         <style>
                                           <class name="icon"/>


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