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
|
|
@ -45,7 +45,7 @@ impl Tiger {
|
|||
.on_toggle(Message::ToggleColorFilter);
|
||||
|
||||
center(
|
||||
column![svg, container(apply_color_filter).center_x()]
|
||||
column![svg, container(apply_color_filter).center_x(Length::Fill)]
|
||||
.spacing(20)
|
||||
.height(Length::Fill),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue