[sysprof] libsysprof-ui: cleanup failed state view



commit d8b2dee297ca42297948a4bfe558dc99cefa8634
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 11 13:11:22 2022 -0700

    libsysprof-ui: cleanup failed state view

 src/libsysprof-ui/sysprof-failed-state-view.ui | 22 +++++++++-------------
 1 file changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/src/libsysprof-ui/sysprof-failed-state-view.ui b/src/libsysprof-ui/sysprof-failed-state-view.ui
index 5fc05642..228512ee 100644
--- a/src/libsysprof-ui/sysprof-failed-state-view.ui
+++ b/src/libsysprof-ui/sysprof-failed-state-view.ui
@@ -1,6 +1,8 @@
 <?xml version="1.0"?>
 <interface>
   <template class="SysprofFailedStateView" parent="GtkWidget">
+    <property name="vexpand">true</property>
+    <property name="valign">center</property>
     <child>
       <object class="GtkBox">
         <property name="margin-top">36</property>
@@ -22,31 +24,25 @@
         </child>
         <child type="end">
           <object class="GtkLabel">
-            <property name="vexpand">true</property>
-            <property name="visible">true</property>
-          </object>
-        </child>
-        <child type="end">
-          <object class="GtkLabel">
-            <property name="label" translatable="yes">Something unexpectedly went wrong while trying to 
profile your system.</property>
-            <property name="use-markup">true</property>
+            <property name="label" translatable="yes">Ouch, that hurt!</property>
             <property name="visible">true</property>
             <style>
               <class name="dim-label"/>
             </style>
+            <attributes>
+              <attribute name="scale" value="2"/>
+              <attribute name="weight" value="bold"/>
+            </attributes>
           </object>
         </child>
         <child type="end">
           <object class="GtkLabel">
-            <property name="label" translatable="yes">Ouch, that hurt!</property>
+            <property name="label" translatable="yes">Something unexpectedly went wrong while trying to 
profile your system.</property>
+            <property name="use-markup">true</property>
             <property name="visible">true</property>
             <style>
               <class name="dim-label"/>
             </style>
-            <attributes>
-              <attribute name="scale" value="2"/>
-              <attribute name="weight" value="bold"/>
-            </attributes>
           </object>
         </child>
       </object>


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