Skip to content

clutter/actor: Always query layout manager when getting size

There are cases where a layout manager used by an actor also wants to return a custom size when the actor has no children, for example in case the layout manager requests a fixed size. This is currently impossible because we only query the layout manager when calculating the preferred size if the actor has children.

So fix that and also use the layout managers size negotiation functions in case the actor has no children.

Merge request reports