[nautilus] container-max-width: Increase default min & max width
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] container-max-width: Increase default min & max width
- Date: Fri, 10 Mar 2017 16:12:00 +0000 (UTC)
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]