Center Submit button vertically in styling example
This commit is contained in:
parent
59bb5a99aa
commit
b38f7d2837
1 changed files with 3 additions and 1 deletions
|
|
@ -127,7 +127,9 @@ impl Sandbox for Styling {
|
|||
let content = column![
|
||||
choose_theme,
|
||||
horizontal_rule(38),
|
||||
row![text_input, button].spacing(10),
|
||||
row![text_input, button]
|
||||
.spacing(10)
|
||||
.align_items(Alignment::Center),
|
||||
slider,
|
||||
progress_bar,
|
||||
row![
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue