[gnome-music/wip/mschraal/gtk4: 28/69] EmptyView.ui: Cleanup



commit 1bc6a4cad668fa7d0fbabf62a8de0110425b66c2
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 66f71f54..fefca6ae 100644
--- a/data/ui/EmptyView.ui
+++ b/data/ui/EmptyView.ui
@@ -1,41 +1,31 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
-  <!-- interface-requires gtk+ 3.0 -->
   <template class="EmptyView" parent="GtkStack">
     <property name="transition_type">crossfade</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>
             <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>
@@ -43,30 +33,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]