diff options
| author | 2019-09-05 15:19:37 +0200 | |
|---|---|---|
| committer | 2019-09-05 15:19:37 +0200 | |
| commit | 3838203dff120391282c45935ded456ba9d2884d (patch) | |
| tree | a745932cf83875a6923189c57f4d787508567d4a /examples/tour/main.rs | |
| parent | 9fb48137b062d2cc2974a1cd436e7d955a4acaa1 (diff) | |
| download | iced-3838203dff120391282c45935ded456ba9d2884d.tar.gz iced-3838203dff120391282c45935ded456ba9d2884d.tar.bz2 iced-3838203dff120391282c45935ded456ba9d2884d.zip | |
Apply `padding` to root in `tour` example
Diffstat (limited to 'examples/tour/main.rs')
| -rw-r--r-- | examples/tour/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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); |
