forked from AuroraMiddleware/gtk
Properly propagate expand flags
When showing a widget that already has need_compute_expand set, we need to queue the recomputation on the parent.
This commit is contained in:
parent
c7e1f567b6
commit
0a3fa74a52
@ -3810,7 +3810,8 @@ gtk_widget_show (GtkWidget *widget)
|
||||
widget->priv->computed_hexpand ||
|
||||
widget->priv->computed_vexpand)
|
||||
{
|
||||
gtk_widget_queue_compute_expand (widget);
|
||||
if (widget->priv->parent != NULL)
|
||||
gtk_widget_queue_compute_expand (widget->priv->parent);
|
||||
}
|
||||
|
||||
g_signal_emit (widget, widget_signals[SHOW], 0);
|
||||
|
Loading…
Reference in New Issue
Block a user