diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2013-02-22 19:53:03 -0500 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2013-03-01 13:55:05 -0500 |
commit | 50065b7ba07fe08f5c71e42101fedf5b6e810982 (patch) | |
tree | f098fd6eb3c63b1dca16ea1b1dc79a372d928e16 /gtk/gtktreeview.c | |
parent | d0895d6c0feb6c6ca14bfc05910926051b2bf63b (diff) | |
download | gtk+-50065b7ba07fe08f5c71e42101fedf5b6e810982.tar.gz |
treeview: center expander allocated space
This patch centers the expander in the extra space allocated by the
horizontal-separator style property.
https://bugzilla.gnome.org/show_bug.cgi?id=650424
Diffstat (limited to 'gtk/gtktreeview.c')
-rw-r--r-- | gtk/gtktreeview.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtktreeview.c b/gtk/gtktreeview.c index abde2677cd..505f41b588 100644 --- a/gtk/gtktreeview.c +++ b/gtk/gtktreeview.c @@ -9274,6 +9274,7 @@ gtk_tree_view_get_arrow_xrange (GtkTreeView *tree_view, total_width += gtk_tree_view_column_get_width (tmp_column); } + x_offset += (expander_size - expander_render_size); if (indent_expanders) { |