Make grid sizing strategy explicit and more intuitive
This commit is contained in:
parent
504d9c2959
commit
687750e026
4 changed files with 74 additions and 28 deletions
|
|
@ -461,7 +461,7 @@ where
|
|||
limits.max().width
|
||||
},
|
||||
if self.direction.vertical().is_some() {
|
||||
f32::MAX
|
||||
f32::INFINITY
|
||||
} else {
|
||||
limits.max().height
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue