Make horizontal_space and vertical_space fill by default
This commit is contained in:
parent
9dd20ead08
commit
e8049af23d
16 changed files with 54 additions and 46 deletions
|
|
@ -43,10 +43,10 @@ impl Sandbox for Example {
|
|||
.placeholder("Choose a language...");
|
||||
|
||||
let content = column![
|
||||
vertical_space(600),
|
||||
vertical_space().height(600),
|
||||
"Which is your favorite language?",
|
||||
pick_list,
|
||||
vertical_space(600),
|
||||
vertical_space().height(600),
|
||||
]
|
||||
.width(Length::Fill)
|
||||
.align_items(Alignment::Center)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue