forked from AuroraMiddleware/gtk
bbox: Don't report a horizontal baseline
This commit is contained in:
parent
f0d6cb5f40
commit
68c35bbe15
@ -731,10 +731,13 @@ gtk_button_box_measure (GtkWidget *widget,
|
||||
else
|
||||
*minimum = *natural = requisition.height;
|
||||
|
||||
if (minimum_baseline)
|
||||
*minimum_baseline = baseline;
|
||||
if (natural_baseline)
|
||||
*natural_baseline = baseline;
|
||||
if (orientation == GTK_ORIENTATION_VERTICAL)
|
||||
{
|
||||
if (minimum_baseline)
|
||||
*minimum_baseline = baseline;
|
||||
if (natural_baseline)
|
||||
*natural_baseline = baseline;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user