[nautilus/latest-ux-changes: 21/21] toolbar: Adjust width requirements



commit 56100acb9ae589a4984c97e1c829f2e5f794f21c
Author: Carlos Soriano <csoriano redhat com>
Date:   Thu Jul 26 13:42:15 2018 +0200

    toolbar: Adjust width requirements
    
    So we allow half sized windows in 1360px screens. This is delicatily
    adjusted with the default GNOME set up: Adwaita theme, only close
    button as window controls and Cantarell as font.
    
    Closes https://gitlab.gnome.org/GNOME/nautilus/issues/425

 src/nautilus-pathbar.c               | 2 +-
 src/resources/ui/nautilus-toolbar.ui | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 554ffb898..9d3a3ec91 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -57,7 +57,7 @@ typedef enum
 static guint path_bar_signals [LAST_SIGNAL] = { 0 };
 
 #define NAUTILUS_PATH_BAR_ICON_SIZE 16
-#define NAUTILUS_PATH_BAR_BUTTON_MAX_WIDTH 250
+#define NAUTILUS_PATH_BAR_BUTTON_MAX_WIDTH 175
 
 typedef struct
 {
diff --git a/src/resources/ui/nautilus-toolbar.ui b/src/resources/ui/nautilus-toolbar.ui
index 91b276e52..8c26c3b5d 100644
--- a/src/resources/ui/nautilus-toolbar.ui
+++ b/src/resources/ui/nautilus-toolbar.ui
@@ -313,10 +313,10 @@
     </child>
     <child type="title">
       <object class="GtkBox" id="header_toolbar">
+        <property name="width_request">270</property>
         <property name="visible">True</property>
         <property name="can_focus">False</property>
         <property name="halign">center</property>
-        <property name="margin_start">24</property>
         <property name="margin_end">24</property>
         <property name="spacing">6</property>
         <child>


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