summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/tour.rs6
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(