[gnome-weather/wip/cdavis/ui-tweaks: 1/7] city.ui: Style loading screen like HdyStatusPage




commit c3edc6e865e0b0fe73acd101954c4f0614d04e10
Author: Christopher Davis <christopherdavis gnome org>
Date:   Fri Feb 12 04:16:15 2021 -0800

    city.ui: Style loading screen like HdyStatusPage
    
    Since this is a status page, we should match GNOME status page styling.

 data/city.ui | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/data/city.ui b/data/city.ui
index f9d25b0..03b6a83 100644
--- a/data/city.ui
+++ b/data/city.ui
@@ -9,18 +9,19 @@
       </object>
     </child>
     <child>
-      <object class="GtkGrid" id="loading-grid">
+      <object class="GtkBox" id="loading-box">
         <property name="visible">True</property>
         <property name="can_focus">False</property>
-        <property name="orientation">vertical</property>
-        <property name="halign">center</property>
         <property name="valign">center</property>
+        <property name="orientation">vertical</property>
         <child>
           <object class="GtkSpinner" id="spinner">
             <property name="visible">True</property>
             <property name="can_focus">False</property>
             <property name="height_request">128</property>
             <property name="width_request">128</property>
+            <property name="margin_bottom">18</property>
+            <property name="active">True</property>
           </object>
         </child>
         <child>
@@ -28,6 +29,9 @@
             <property name="visible">True</property>
             <property name="can_focus">True</property>
             <property name="label" translatable="yes">Loading…</property>
+            <style>
+              <class name="large-title"/>
+            </style>
           </object>
         </child>
       </object>


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