[nautilus] container-max-width: Increase default min & max width



commit 71ad9be5fe87a07b63d1ca3df96a6620f516aef3
Author: Carlos Soriano <csoriano gnome org>
Date:   Fri Mar 10 16:17:00 2017 +0100

    container-max-width: Increase default min & max width
    
    So there is more room for a label

 src/nautilus-container-max-width.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-container-max-width.c b/src/nautilus-container-max-width.c
index b94e016..29dd34a 100644
--- a/src/nautilus-container-max-width.c
+++ b/src/nautilus-container-max-width.c
@@ -1,5 +1,7 @@
 #include "nautilus-container-max-width.h"
 
+#define DEFAULT_MAX_SIZE 120
+
 struct _NautilusContainerMaxWidth
 {
     GtkBin parent_instance;
@@ -105,7 +107,7 @@ get_preferred_width (GtkWidget *widget,
     *minimum_size = 0;
     gtk_widget_get_preferred_width (child, minimum_size, natural_size);
 
-    *minimum_size = self->max_width == -1 ? *minimum_size : 96;
+    *minimum_size = self->max_width == -1 ? *minimum_size : DEFAULT_MAX_SIZE;
     *natural_size = self->max_width == -1 ? *natural_size :
                     MAX (*minimum_size, MIN (self->max_width, *natural_size));
 


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