forked from AuroraMiddleware/gtk
Fixed computation of sizegroups when no explicit request is set.
My previous commit to GtkSizeGroup made sure that when gtk_widget_set_size_request() is set on a widget, it will be taken into account when computing the widget's own request, this commit fixes the case where there is no explicit size request.
This commit is contained in:
parent
e9e3725ee7
commit
3783a0a54f
@ -767,6 +767,8 @@ _gtk_size_group_bump_requisition (GtkWidget *widget,
|
||||
else
|
||||
result = compute_dimension (widget, mode, MAX (aux_info->height, widget_requisition));
|
||||
}
|
||||
else
|
||||
result = compute_dimension (widget, mode, widget_requisition);
|
||||
}
|
||||
else if (aux_info)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user