forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
d0895d6c0f
commit
50065b7ba0
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user