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
|
|
@ -291,7 +291,10 @@ fn view_content<'a>(
|
|||
.spacing(10)
|
||||
.align_items(Alignment::Center);
|
||||
|
||||
container(scrollable(content)).center_y().padding(5).into()
|
||||
container(scrollable(content))
|
||||
.center_y(Length::Fill)
|
||||
.padding(5)
|
||||
.into()
|
||||
}
|
||||
|
||||
fn view_controls<'a>(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue