diff options
author | 2019-12-30 21:32:21 +0100 | |
---|---|---|
committer | 2019-12-30 21:33:27 +0100 | |
commit | 3a327e08e96d9588d145c32afe4f04f37a8f0f0f (patch) | |
tree | b1da004410c0dc4ba82bd0c3262ea3359fad38b2 /examples/tour.rs | |
parent | 8426bf953cb50f3b7fcb1e0ec8c2fdf22d2b01af (diff) | |
download | iced-3a327e08e96d9588d145c32afe4f04f37a8f0f0f.tar.gz iced-3a327e08e96d9588d145c32afe4f04f37a8f0f0f.tar.bz2 iced-3a327e08e96d9588d145c32afe4f04f37a8f0f0f.zip |
Rename `Empty` widget to `Space`
Diffstat (limited to 'examples/tour.rs')
-rw-r--r-- | examples/tour.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/tour.rs b/examples/tour.rs index fcace9c3..91b75296 100644 --- a/examples/tour.rs +++ b/examples/tour.rs @@ -1,7 +1,7 @@ use iced::{ button, scrollable, slider, text_input, Button, Checkbox, Color, Column, - Container, Element, Empty, HorizontalAlignment, Image, Length, Radio, Row, - Sandbox, Scrollable, Settings, Slider, Text, TextInput, + Container, Element, HorizontalAlignment, Image, Length, Radio, Row, + Sandbox, Scrollable, Settings, Slider, Space, Text, TextInput, }; pub fn main() { @@ -67,7 +67,7 @@ impl Sandbox for Tour { ); } - controls = controls.push(Empty::new().width(Length::Fill)); + controls = controls.push(Space::with_width(Length::Fill)); if steps.can_continue() { controls = controls.push( |