Apply padding to root in tour example
This commit is contained in:
parent
9fb48137b0
commit
3838203dff
@ -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);
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user