From 3838203dff120391282c45935ded456ba9d2884d Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Thu, 5 Sep 2019 15:19:37 +0200 Subject: Apply `padding` to root in `tour` example --- examples/tour/main.rs | 1 + examples/tour/tour.rs | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tour/main.rs b/examples/tour/main.rs index 4dbd5833..1a9ba362 100644 --- a/examples/tour/main.rs +++ b/examples/tour/main.rs @@ -139,6 +139,7 @@ impl event::EventHandler for Game { let content = Column::new() .width(screen.w as u16) .height(screen.h as u16) + .padding(20) .align_items(iced::Align::Center) .justify_content(iced::Justify::Center) .push(view); diff --git a/examples/tour/tour.rs b/examples/tour/tour.rs index 0a8d0a11..d0be99b0 100644 --- a/examples/tour/tour.rs +++ b/examples/tour/tour.rs @@ -66,7 +66,6 @@ impl Tour { let element: Element<_> = Column::new() .max_width(500) - .padding(20) .spacing(20) .push(steps.view(self.debug).map(Message::StepMessage)) .push(controls) -- cgit