Add some horizontal padding to toggler section in tour example
This commit is contained in:
parent
ef5f46bcdd
commit
d3d6f3efb3
1 changed files with 8 additions and 5 deletions
|
|
@ -565,11 +565,14 @@ impl<'a> Step {
|
||||||
.push(Text::new(
|
.push(Text::new(
|
||||||
"A toggler is mostly used to enable or disable something.",
|
"A toggler is mostly used to enable or disable something.",
|
||||||
))
|
))
|
||||||
.push(Toggler::new(
|
.push(
|
||||||
can_continue,
|
Container::new(Toggler::new(
|
||||||
String::from("Toggle me to continue..."),
|
can_continue,
|
||||||
StepMessage::TogglerChanged,
|
String::from("Toggle me to continue..."),
|
||||||
))
|
StepMessage::TogglerChanged,
|
||||||
|
))
|
||||||
|
.padding([0, 40]),
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
fn image(
|
fn image(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue