[nautilus/wip/antoniof/properties-followup: 3/5] properties-window: Make Trash data rows consistent




commit c2c440c545640186e5aeb103e3135ab1517574ef
Author: António Fernandes <antoniof gnome org>
Date:   Thu Aug 4 07:30:25 2022 +0100

    properties-window: Make Trash data rows consistent

 src/resources/ui/nautilus-properties-window.ui | 103 ++++++++++++++-----------
 1 file changed, 56 insertions(+), 47 deletions(-)
---
diff --git a/src/resources/ui/nautilus-properties-window.ui b/src/resources/ui/nautilus-properties-window.ui
index 6bb5a3fe2..5f3af274b 100644
--- a/src/resources/ui/nautilus-properties-window.ui
+++ b/src/resources/ui/nautilus-properties-window.ui
@@ -399,61 +399,70 @@
                                 <property name="selection-mode">none</property>
                                 <property name="visible">False</property>
                                 <child>
-                                  <object class="GtkListBoxRow">
+                                  <object class="AdwActionRow">
                                     <property name="activatable">False</property>
                                     <property name="selectable">False</property>
-                                    <child>
+                                    <child type="prefix">
                                       <object class="GtkBox">
-                                        <property name="margin-top">12</property>
-                                        <property name="margin-bottom">12</property>
-                                        <property name="margin-start">12</property>
-                                        <property name="margin-end">12</property>
-                                        <property name="spacing">12</property>
                                         <property name="orientation">vertical</property>
+                                        <property name="spacing">3</property>
+                                        <property name="halign">start</property>
+                                        <property name="valign">center</property>
                                         <child>
-                                          <object class="GtkBox">
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="label" translatable="yes">Trashed 
on</property>
-                                                <property name="xalign">0</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkLabel" id="trashed_on_value_label">
-                                                <property name="hexpand">True</property>
-                                                <property name="selectable">True</property>
-                                                <property name="ellipsize">end</property>
-                                                <property name="max-width-chars">24</property>
-                                                <property name="xalign">1</property>
-                                                <style>
-                                                  <class name="dim-label"/>
-                                                </style>
-                                              </object>
-                                            </child>
+                                          <object class="GtkLabel">
+                                            <property name="label" translatable="yes">Original 
Folder</property>
+                                            <property name="hexpand">True</property>
+                                            <property name="ellipsize">end</property>
+                                            <property name="halign">start</property>
+                                            <style>
+                                              <class name="caption"/>
+                                              <class name="dim-label"/>
+                                            </style>
                                           </object>
                                         </child>
                                         <child>
-                                          <object class="GtkBox">
-                                            <property name="spacing">12</property>
-                                            <child>
-                                              <object class="GtkLabel">
-                                                <property name="label" translatable="yes">Original 
Folder</property>
-                                                <property name="xalign">0</property>
-                                              </object>
-                                            </child>
-                                            <child>
-                                              <object class="GtkLabel" id="original_folder_value_label">
-                                                <property name="hexpand">True</property>
-                                                <property name="selectable">True</property>
-                                                <property name="ellipsize">end</property>
-                                                <property name="max-width-chars">24</property>
-                                                <property name="xalign">1</property>
-                                                <style>
-                                                  <class name="dim-label"/>
-                                                </style>
-                                              </object>
-                                            </child>
+                                          <object class="GtkLabel" id="original_folder_value_label">
+                                            <property name="hexpand">True</property>
+                                            <property name="selectable">True</property>
+                                            <property name="ellipsize">start</property>
+                                            <property name="halign">start</property>
+                                          </object>
+                                        </child>
+                                      </object>
+                                    </child>
+                                  </object>
+                                </child>
+                                <child>
+                                  <object class="AdwActionRow">
+                                    <property name="activatable">False</property>
+                                    <property name="selectable">False</property>
+                                    <child type="prefix">
+                                      <object class="GtkBox">
+                                        <property name="orientation">vertical</property>
+                                        <property name="spacing">3</property>
+                                        <property name="halign">start</property>
+                                        <property name="valign">center</property>
+                                        <child>
+                                          <object class="GtkLabel">
+                                            <property name="label" translatable="yes">Trashed on</property>
+                                            <property name="hexpand">True</property>
+                                            <property name="ellipsize">end</property>
+                                            <property name="halign">start</property>
+                                            <style>
+                                              <class name="caption"/>
+                                              <class name="dim-label"/>
+                                            </style>
+                                          </object>
+                                        </child>
+                                        <child>
+                                          <object class="GtkLabel" id="trashed_on_value_label">
+                                            <property name="hexpand">True</property>
+                                            <property name="selectable">True</property>
+                                            <property name="ellipsize">end</property>
+                                            <property name="halign">start</property>
+                                            <style>
+                                              <class name="numeric"/>
+                                            </style>
                                           </object>
                                         </child>
                                       </object>


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