summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/tour/src/main.rs13
1 files changed, 8 insertions, 5 deletions
diff --git a/examples/tour/src/main.rs b/examples/tour/src/main.rs
index de935444..1215f83d 100644
--- a/examples/tour/src/main.rs
+++ b/examples/tour/src/main.rs
@@ -565,11 +565,14 @@ impl<'a> Step {
.push(Text::new(
"A toggler is mostly used to enable or disable something.",
))
- .push(Toggler::new(
- can_continue,
- String::from("Toggle me to continue..."),
- StepMessage::TogglerChanged,
- ))
+ .push(
+ Container::new(Toggler::new(
+ can_continue,
+ String::from("Toggle me to continue..."),
+ StepMessage::TogglerChanged,
+ ))
+ .padding([0, 40]),
+ )
}
fn image(