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(
|
.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…
Reference in New Issue
Block a user