mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-01 00:11:29 +00:00
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:
parent
f1ad9051bd
commit
a7d2138544
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user