[gtk+] treeview: don't arbitrairly add 2 to the expander size



commit f398745a15cbc697fb789af6b5a47b38bebae702
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon May 16 23:09:07 2011 -0400

    treeview: don't arbitrairly add 2 to the expander size
    
    Bump the default expander size by 2 pixels instead.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=650424

 gtk/gtktreeview.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c
index 3be3730..232e8d5 100644
--- a/gtk/gtktreeview.c
+++ b/gtk/gtktreeview.c
@@ -1178,7 +1178,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
 						       GTK_PARAM_READWRITE));
 
   /* Style properties */
-#define _TREE_VIEW_EXPANDER_SIZE 12
+#define _TREE_VIEW_EXPANDER_SIZE 14
 #define _TREE_VIEW_VERTICAL_SEPARATOR 2
 #define _TREE_VIEW_HORIZONTAL_SEPARATOR 2
 
@@ -10003,7 +10003,7 @@ gtk_tree_view_draw_arrow (GtkTreeView *tree_view,
   area.x = x_offset;
   area.y = gtk_tree_view_get_cell_area_y_offset (tree_view, tree, node,
                                                  vertical_separator);
-  area.width = expander_size + 2;
+  area.width = expander_size;
   area.height = gtk_tree_view_get_cell_area_height (tree_view, node,
                                                     vertical_separator);
 



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