container-max-width: Increase default min & max width

So there is more room for a label
parent 08e60829
#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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment