Apply padding to root in tour example

This commit is contained in:
Héctor Ramón Jiménez 2019-09-05 15:19:37 +02:00
parent 9fb48137b0
commit 3838203dff
2 changed files with 1 additions and 1 deletions

View file

@ -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);