Ask for explicit Length in center_* methods
This commit is contained in:
parent
b30d34f728
commit
05f69f495e
13 changed files with 40 additions and 41 deletions
|
|
@ -251,7 +251,7 @@ fn application<'a>() -> Element<'a, Message> {
|
|||
.align_items(Alignment::Center),
|
||||
)
|
||||
.style(container::rounded_box)
|
||||
.center_y();
|
||||
.center_y(Length::Fill);
|
||||
|
||||
let content = container(
|
||||
scrollable(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue