Improve consistency of Padding API
This commit is contained in:
parent
53110f0ede
commit
5b029ae61c
6 changed files with 48 additions and 29 deletions
|
|
@ -654,7 +654,7 @@ where
|
|||
limits
|
||||
.height(min_bounds.height)
|
||||
.max()
|
||||
.expand(Size::new(0.0, self.padding.vertical())),
|
||||
.expand(Size::new(0.0, self.padding.y())),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue