Make grid sizing strategy explicit and more intuitive

This commit is contained in:
Héctor Ramón Jiménez 2025-04-10 15:39:10 +02:00
parent 504d9c2959
commit 687750e026
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
4 changed files with 74 additions and 28 deletions

View file

@ -461,7 +461,7 @@ where
limits.max().width
},
if self.direction.vertical().is_some() {
f32::MAX
f32::INFINITY
} else {
limits.max().height
},