Add some padding to the tour example

This commit is contained in:
Héctor Ramón Jiménez 2019-10-05 05:17:59 +02:00
parent 0c3f78713d
commit ef498eb1af

View file

@ -73,6 +73,7 @@ impl UserInterface for Tour {
let element: Element<_> = Column::new() let element: Element<_> = Column::new()
.max_width(Length::Units(500)) .max_width(Length::Units(500))
.spacing(20) .spacing(20)
.padding(20)
.push(steps.view(self.debug).map(Message::StepMessage)) .push(steps.view(self.debug).map(Message::StepMessage))
.push(controls) .push(controls)
.into(); .into();