forked from AuroraMiddleware/gtk
path bar: Request enough natural width to fit all buttons
Otherwise, we are at the mercy of the container giving us more space than we request, which does not always work.
This commit is contained in:
parent
78c177fb28
commit
7c08896384
@ -371,7 +371,7 @@ gtk_path_bar_get_preferred_width (GtkWidget *widget,
|
||||
}
|
||||
|
||||
*minimum = MAX (*minimum, child_min);
|
||||
*natural = MAX (*natural, child_nat);
|
||||
*natural = *natural + child_nat;
|
||||
}
|
||||
|
||||
/* Add space for slider, if we have more than one path */
|
||||
|
Loading…
Reference in New Issue
Block a user