[gnome-music/wip/mschraal/gtk4: 23/84] EmptyView.ui: Cleanup



commit e917adcbea83e740af78184eaeedb6dc7086e08e
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 14:19:54 2019 +0100

    EmptyView.ui: Cleanup

 data/ui/EmptyView.ui | 31 ++++---------------------------
 1 file changed, 4 insertions(+), 27 deletions(-)
---
diff --git a/data/ui/EmptyView.ui b/data/ui/EmptyView.ui
index cc7ae76c..e93f1d9a 100644
--- a/data/ui/EmptyView.ui
+++ b/data/ui/EmptyView.ui
@@ -1,43 +1,33 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <!-- interface-requires gtk+ 3.0 -->
   <template class="EmptyView" parent="GtkStack">
     <property name="transition_type">crossfade</property>
     <property name="visible">True</property>
     <child>
       <object class="GtkBox" id="_container">
-        <property name="visible">True</property>
         <property name="orientation">vertical</property>
-        <property name="can_focus">False</property>
         <property name="halign">center</property>
         <property name="valign">center</property>
-        <property name="hexpand">True</property>
-        <property name="vexpand">True</property>
+        <property name="hexpand">1</property>
+        <property name="vexpand">1</property>
         <child>
           <object class="GtkImage" id="_icon">
-            <property name="visible">True</property>
-            <property name="can_focus">False</property>
             <property name="valign">center</property>
             <property name="pixel_size">128</property>
             <property name="icon_name">emblem-music-symbolic</property>
-            <property name="icon_size">0</property>
             <property name="margin_bottom">18</property>
             <style>
               <class name="grey-image"/>
             </style>
           </object>
-          <packing>
-            <property name="position">0</property>
-          </packing>
         </child>
         <child>
           <object class="GtkBox" id="box">
+            <property name="visible">0</property>
             <property name="orientation">vertical</property>
                 <property name="visible">True</property>
             <child>
               <object class="GtkLabel" id="_main_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
                 <property name="halign">center</property>
                 <property name="xalign">0</property>
                 <property name="margin_bottom">12</property>
@@ -45,30 +35,17 @@
                   <class name="no-music-found-label"/>
                   <class name="dim-label"/>
                 </style>
-
               </object>
-              <packing>
-                <property name="position">0</property>
-              </packing>
             </child>
             <child>
               <object class="GtkLabel" id="_information_label">
-                <property name="visible">True</property>
-                <property name="can_focus">False</property>
-                <property name="justify">left</property>
-                <property name="use_markup">true</property>
+                <property name="use_markup">1</property>
                 <style>
                   <class name="dim-label"/>
                 </style>
               </object>
-              <packing>
-                <property name="position">1</property>
-              </packing>
             </child>
           </object>
-          <packing>
-            <property name="position">1</property>
-          </packing>
         </child>
       </object>
     </child>


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