Reduce padding of scrollable example

This commit is contained in:
Héctor Ramón Jiménez 2024-01-09 02:12:29 +01:00
parent 4bdd8a6279
commit d24e50c1a6
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -338,7 +338,7 @@ impl Application for ScrollableDemo {
.spacing(10)
.into();
Element::from(container(content).padding(40).center_x().center_y())
container(content).padding(20).center_x().center_y().into()
}
fn theme(&self) -> Self::Theme {