summaryrefslogtreecommitdiffstats
path: root/examples/styling/src/main.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-17 03:23:10 +0100
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-03-17 03:23:10 +0100
commitc7583f12270082dc2f4d766aea50be7bd49b6c50 (patch)
treebf4529c0deec92a72f72a157b35299b6d1e7d4de /examples/styling/src/main.rs
parenta373682fa4e8d57d66707faef1fb6b373f4297eb (diff)
parent9da6ce474c2cd178ca5365d46760ba0882ce7121 (diff)
downloadiced-c7583f12270082dc2f4d766aea50be7bd49b6c50.tar.gz
iced-c7583f12270082dc2f4d766aea50be7bd49b6c50.tar.bz2
iced-c7583f12270082dc2f4d766aea50be7bd49b6c50.zip
Merge branch 'master' into feature/panes-widget
Diffstat (limited to 'examples/styling/src/main.rs')
-rw-r--r--examples/styling/src/main.rs1
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!"))