summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-05 15:17:11 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2019-09-05 15:17:11 +0200
commit9fb48137b062d2cc2974a1cd436e7d955a4acaa1 (patch)
treecce8b9bf51e0492d17056ea0f8a1dc3e156ae73c /examples
parent247b27f4ca5ee494086e74d40e2f12083a8080f2 (diff)
downloadiced-9fb48137b062d2cc2974a1cd436e7d955a4acaa1.tar.gz
iced-9fb48137b062d2cc2974a1cd436e7d955a4acaa1.tar.bz2
iced-9fb48137b062d2cc2974a1cd436e7d955a4acaa1.zip
Add a bit of padding to the `tour` example
Diffstat (limited to 'examples')
-rw-r--r--examples/tour/tour.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/tour/tour.rs b/examples/tour/tour.rs
index d0be99b0..0a8d0a11 100644
--- a/examples/tour/tour.rs
+++ b/examples/tour/tour.rs
@@ -66,6 +66,7 @@ impl Tour {
let element: Element<_> = Column::new()
.max_width(500)
+ .padding(20)
.spacing(20)
.push(steps.view(self.debug).map(Message::StepMessage))
.push(controls)