diff options
| author | 2019-12-31 10:36:06 +0100 | |
|---|---|---|
| committer | 2019-12-31 10:36:06 +0100 | |
| commit | 26de688e68347e1f6e388d01014eac89cea71afa (patch) | |
| tree | 6e454bd187407003a243eda4d137a153302f79b2 /examples | |
| parent | eb8866007456c7ea9efb5449096b0aa15b66ba9b (diff) | |
| parent | 3a327e08e96d9588d145c32afe4f04f37a8f0f0f (diff) | |
| download | iced-26de688e68347e1f6e388d01014eac89cea71afa.tar.gz iced-26de688e68347e1f6e388d01014eac89cea71afa.tar.bz2 iced-26de688e68347e1f6e388d01014eac89cea71afa.zip | |
Merge pull request #138 from hecrj/feature/empty-widget
`Space` widget
Diffstat (limited to '')
| -rw-r--r-- | examples/tour.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/examples/tour.rs b/examples/tour.rs index da05b396..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, 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()); +        controls = controls.push(Space::with_width(Length::Fill));          if steps.can_continue() {              controls = controls.push( | 
