Center Submit button vertically in styling example

This commit is contained in:
Héctor Ramón Jiménez 2023-06-21 18:07:26 +02:00
parent 59bb5a99aa
commit b38f7d2837
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -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![