mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
notebook: Fix wrong tab widgets allocation
Since we allocate the tab widgets on demand, we have to queue an extra resize here.
This commit is contained in:
parent
85fa396176
commit
7479e6cb50
@ -5425,6 +5425,7 @@ gtk_notebook_real_switch_page (GtkNotebook *notebook,
|
||||
update_arrow_state (notebook);
|
||||
|
||||
gtk_widget_queue_resize (GTK_WIDGET (notebook));
|
||||
gtk_widget_queue_resize (priv->tabs_widget);
|
||||
g_object_notify_by_pspec (G_OBJECT (notebook), properties[PROP_PAGE]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user