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
Please register or sign in to comment