summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-05 05:17:59 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-10-05 05:17:59 +0200
commitef498eb1af687baf673fb38a29b5cd1c1b1224d7 (patch)
tree9e7eeac317a8af0a1642e19f953794984b85fc06 /examples
parent0c3f78713d24b263e94cf6aebb8862926feaff23 (diff)
downloadiced-ef498eb1af687baf673fb38a29b5cd1c1b1224d7.tar.gz
iced-ef498eb1af687baf673fb38a29b5cd1c1b1224d7.tar.bz2
iced-ef498eb1af687baf673fb38a29b5cd1c1b1224d7.zip
Add some padding to the `tour` example
Diffstat (limited to 'examples')
-rw-r--r--examples/tour/src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index 5017041a..790a1390 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -73,6 +73,7 @@ impl UserInterface for Tour {
let element: Element<_> = Column::new()
.max_width(Length::Units(500))
.spacing(20)
+ .padding(20)
.push(steps.view(self.debug).map(Message::StepMessage))
.push(controls)
.into();