treeview: Invalidate children properly
GtkTreeView still uses regions (yay!), so we need to invalidate the regions when hiding/showing children, and not their siblings.
This commit is contained in:
@@ -11922,7 +11922,7 @@ _gtk_tree_view_reset_header_styles (GtkTreeView *tree_view)
|
||||
if (!header_widget)
|
||||
header_widget = gtk_tree_view_column_get_button (column);
|
||||
|
||||
_gtk_widget_invalidate_style_context (header_widget, GTK_CSS_CHANGE_POSITION | GTK_CSS_CHANGE_SIBLING_POSITION);
|
||||
_gtk_widget_invalidate_style_context (header_widget, GTK_CSS_CHANGE_PARENT_REGION);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user