[gnome-text-editor] sidebarrow: tweak layout of rows



commit 1d43106a2530fc3b0ed25f9e9d47b5a036a4e55e
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jun 29 10:19:49 2021 -0700

    sidebarrow: tweak layout of rows
    
    Fixes #101

 src/editor-sidebar-row.ui | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)
---
diff --git a/src/editor-sidebar-row.ui b/src/editor-sidebar-row.ui
index e898bf4..7e2c54c 100644
--- a/src/editor-sidebar-row.ui
+++ b/src/editor-sidebar-row.ui
@@ -39,6 +39,7 @@
             <property name="hexpand">true</property>
             <layout>
               <property name="column">1</property>
+              <property name="column-span">2</property>
             </layout>
           </object>
         </child>
@@ -56,15 +57,12 @@
             </attributes>
             <layout>
               <property name="row">1</property>
-              <property name="column">1</property>
-              <property name="column-span">2</property>
+              <property name="column">2</property>
             </layout>
           </object>
         </child>
         <child>
           <object class="GtkLabel" id="age">
-            <property name="label">2 hours ago</property>
-            <property name="margin-start">12</property>
             <property name="visible">true</property>
             <property name="valign">center</property>
             <property name="halign">end</property>
@@ -75,8 +73,8 @@
               <class name="dim-label"/>
             </style>
             <layout>
-              <property name="column">2</property>
-              <property name="row">0</property>
+              <property name="column">1</property>
+              <property name="row">1</property>
             </layout>
           </object>
         </child>
@@ -92,8 +90,9 @@
               <class name="flat"/>
             </style>
             <layout>
-              <property name="column">2</property>
-              <property name="row">1</property>
+              <property name="column">3</property>
+              <property name="row">0</property>
+              <property name="row-span">2</property>
             </layout>
           </object>
         </child>


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