Skip to content
Commit dea5057f authored by Emmanuele Bassi's avatar Emmanuele Bassi 👣
Browse files

grid: Use the orientation of the request

We use the orientation of the grid to get the preferred size of the
layout, but we should be using the orientation of the request instead.
The preferred width has an orizontal orientation, and the preferred
height has a vertical orientation.

This allows us to refactor the get_preferred_* implementation into a
separate function.
parent ed80a4be
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment