forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
42f5856e77
commit
f398745a15
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user