Add some horizontal padding to `toggler` section in `tour` example
This commit is contained in:
parent
ef5f46bcdd
commit
d3d6f3efb3
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue