diff options
author | Timm Bäder <mail@baedert.org> | 2018-01-04 21:38:22 +0100 |
---|---|---|
committer | Timm Bäder <mail@baedert.org> | 2018-01-04 21:41:35 +0100 |
commit | 7479e6cb50655c6df52b566c4c6269c83c81254e (patch) | |
tree | a3b4cd97afe9ce9e65262f6d202d43987f9f01d3 | |
parent | 85fa3961761c7d3a39570b83f5212751e1651519 (diff) | |
download | gtk+-7479e6cb50655c6df52b566c4c6269c83c81254e.tar.gz |
notebook: Fix wrong tab widgets allocation
Since we allocate the tab widgets on demand, we have to queue an extra
resize here.
-rw-r--r-- | gtk/gtknotebook.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 2a2e8a837a..08b7b3764c 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -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]); } |