[gnome-software: 10/22] gs-feature-tile: Remove unused GtkBox from the UI




commit 5e2046eb013b471c423dd91aa9746fd3cbb5273e
Author: Philip Withnall <pwithnall endlessos org>
Date:   Fri Feb 12 21:54:28 2021 +0000

    gs-feature-tile: Remove unused GtkBox from the UI
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Helps: #1131

 src/gs-feature-tile.ui | 53 ++++++++++++++++++++++----------------------------
 1 file changed, 23 insertions(+), 30 deletions(-)
---
diff --git a/src/gs-feature-tile.ui b/src/gs-feature-tile.ui
index fae458e16..75babf31c 100644
--- a/src/gs-feature-tile.ui
+++ b/src/gs-feature-tile.ui
@@ -28,39 +28,32 @@
         <child>
           <object class="GtkBox" id="box">
             <property name="visible">True</property>
-            <property name="hexpand">True</property>
-            <property name="homogeneous">True</property>
+            <property name="halign">center</property>
+            <property name="orientation">vertical</property>
+            <property name="margin">50</property>
+            <child>
+              <object class="GtkLabel" id="title">
+                <property name="visible">True</property>
+                <property name="xalign">0</property>
+                <property name="halign">center</property>
+                <property name="valign">end</property>
+                <property name="vexpand">True</property>
+                <property name="ellipsize">end</property>
+                <style>
+                  <class name="title-1"/>
+                </style>
+              </object>
+            </child>
             <child>
-              <object class="GtkBox" id="box2">
+              <object class="GtkLabel" id="subtitle">
                 <property name="visible">True</property>
+                <property name="ellipsize">end</property>
+                <property name="xalign">0</property>
                 <property name="halign">center</property>
-                <property name="orientation">vertical</property>
-                <property name="margin">50</property>
-                <child>
-                  <object class="GtkLabel" id="title">
-                    <property name="visible">True</property>
-                    <property name="xalign">0</property>
-                    <property name="halign">center</property>
-                    <property name="valign">end</property>
-                    <property name="vexpand">True</property>
-                    <property name="ellipsize">end</property>
-                    <style>
-                      <class name="title-1"/>
-                    </style>
-                  </object>
-                </child>
-                <child>
-                  <object class="GtkLabel" id="subtitle">
-                    <property name="visible">True</property>
-                    <property name="ellipsize">end</property>
-                    <property name="xalign">0</property>
-                    <property name="halign">center</property>
-                    <property name="valign">start</property>
-                    <style>
-                      <class name="caption"/>
-                    </style>
-                  </object>
-                </child>
+                <property name="valign">start</property>
+                <style>
+                  <class name="caption"/>
+                </style>
               </object>
             </child>
           </object>


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