[nautilus] Column Editor: improve layout



commit 63eabe2e084797eaa7a21b2ddb91d103b0a9bfbb
Author: Allan Day <allanpday gmail com>
Date:   Fri Aug 5 11:36:55 2022 +0100

    Column Editor: improve layout
    
    Increase the window size and spacing, so it isn't tightly
    packed together. Add a hyphen to the window heading so it
    isn't a malformed sentence.

 src/nautilus-list-view.c                             |  2 +-
 src/resources/ui/nautilus-column-chooser.ui          |  2 ++
 src/resources/ui/nautilus-list-view-column-editor.ui | 14 +++++++-------
 3 files changed, 10 insertions(+), 8 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index fb14569ec..1c275cb04 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -552,7 +552,7 @@ create_column_editor (NautilusListView *view)
 
     file = nautilus_files_view_get_directory_as_file (NAUTILUS_FILES_VIEW (view));
     name = nautilus_file_get_display_name (file);
-    str = g_strdup_printf (_("%s Visible Columns"), name);
+    str = g_strdup_printf (_("Visible Columns - %s"), name);
     g_free (name);
     gtk_window_set_title (GTK_WINDOW (window), str);
     g_free (str);
diff --git a/src/resources/ui/nautilus-column-chooser.ui b/src/resources/ui/nautilus-column-chooser.ui
index 53e9aadb3..0f2f20dff 100644
--- a/src/resources/ui/nautilus-column-chooser.ui
+++ b/src/resources/ui/nautilus-column-chooser.ui
@@ -15,6 +15,7 @@
   </object>
   <template class="NautilusColumnChooser" parent="GtkBox">
     <property name="orientation">vertical</property>
+    <property name="spacing">12</property>
     <child>
       <object class="GtkScrolledWindow">
         <property name="child">
@@ -62,6 +63,7 @@
     </child>
     <child>
       <object class="GtkBox">
+        <property name="spacing">12</property>
         <child>
           <object class="GtkBox">
             <child>
diff --git a/src/resources/ui/nautilus-list-view-column-editor.ui 
b/src/resources/ui/nautilus-list-view-column-editor.ui
index b71a55772..adfcbfe54 100644
--- a/src/resources/ui/nautilus-list-view-column-editor.ui
+++ b/src/resources/ui/nautilus-list-view-column-editor.ui
@@ -3,8 +3,8 @@
   <requires lib="gtk" version="4.0"/>
   <object class="AdwWindow" id="window">
     <property name="modal">True</property>
-    <property name="default-width">300</property>
-    <property name="default-height">400</property>
+    <property name="default-width">360</property>
+    <property name="default-height">440</property>
     <child>
       <object class="GtkBox">
         <property name="orientation">vertical</property>
@@ -13,12 +13,12 @@
         </child>
         <child>
           <object class="GtkBox" id="box">
-            <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="margin-top">18</property>
+            <property name="margin-bottom">18</property>
+            <property name="margin-start">18</property>
+            <property name="margin-end">18</property>
             <property name="orientation">vertical</property>
-            <property name="spacing">12</property>
+            <property name="spacing">18</property>
             <child>
               <object class="GtkLabel">
                 <property name="label" translatable="yes">Choose the order of information to appear in this 
folder:</property>


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