diff options
author | Carlos Soriano <csoriano@gnome.org> | 2017-03-10 16:17:00 +0100 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2017-03-10 16:17:00 +0100 |
commit | 71ad9be5fe87a07b63d1ca3df96a6620f516aef3 (patch) | |
tree | f102dce18c7bb10f413c44cc93bd93f5003c5053 /src/nautilus-container-max-width.c | |
parent | 08e6082974e826f348b444e7fff653ee6d985df8 (diff) | |
download | nautilus-71ad9be5fe87a07b63d1ca3df96a6620f516aef3.tar.gz |
container-max-width: Increase default min & max width
So there is more room for a label
Diffstat (limited to 'src/nautilus-container-max-width.c')
-rw-r--r-- | 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 b94e01699..29dd34ad7 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)); |