summaryrefslogtreecommitdiffstats
path: root/examples/tour.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-09 01:37:57 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-01-09 01:37:57 +0100
commita4e833e860c41796d491ab43e84239fcca1f303d (patch)
treec41ab304ffaf2dc2311c7d33916cd0515114ad31 /examples/tour.rs
parent2ff0e48142c302cb93130164d083589bb2ac4979 (diff)
parentcc529a1803972604b122c19c0104e71532fff993 (diff)
downloadiced-a4e833e860c41796d491ab43e84239fcca1f303d.tar.gz
iced-a4e833e860c41796d491ab43e84239fcca1f303d.tar.bz2
iced-a4e833e860c41796d491ab43e84239fcca1f303d.zip
Merge branch 'master' into feature/shrink-by-default
Diffstat (limited to 'examples/tour.rs')
-rw-r--r--examples/tour.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/tour.rs b/examples/tour.rs
index dc5ccb5d..7fe8f4da 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, HorizontalAlignment, Image, Length, Radio, Row,
- Sandbox, Scrollable, Settings, Slider, Text, TextInput,
+ Sandbox, Scrollable, Settings, Slider, Space, Text, TextInput,
};
pub fn main() {
@@ -67,7 +67,7 @@ impl Sandbox for Tour {
);
}
- controls = controls.push(Column::new().width(Length::Fill));
+ controls = controls.push(Space::with_width(Length::Fill));
if steps.can_continue() {
controls = controls.push(