diff options
author | 2020-03-14 23:25:19 +0100 | |
---|---|---|
committer | 2020-03-14 23:25:19 +0100 | |
commit | e1438774af809c2951c4c7446638500446c81111 (patch) | |
tree | f087f73812c9090324d10d4b44330d529383e962 /examples/styling | |
parent | f1168187c917f84130e97be81e2ccd4181fe9539 (diff) | |
download | iced-e1438774af809c2951c4c7446638500446c81111.tar.gz iced-e1438774af809c2951c4c7446638500446c81111.tar.bz2 iced-e1438774af809c2951c4c7446638500446c81111.zip |
Fix `Scrollable` width consistency
Diffstat (limited to 'examples/styling')
-rw-r--r-- | examples/styling/src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/styling/src/main.rs b/examples/styling/src/main.rs index 47408624..d6f41b04 100644 --- a/examples/styling/src/main.rs +++ b/examples/styling/src/main.rs @@ -93,6 +93,7 @@ impl Sandbox for Styling { ProgressBar::new(0.0..=100.0, self.slider_value).style(self.theme); let scrollable = Scrollable::new(&mut self.scroll) + .width(Length::Fill) .height(Length::Units(100)) .style(self.theme) .push(Text::new("Scroll me!")) |