Fix Scrollable width consistency
This commit is contained in:
parent
f1168187c9
commit
e1438774af
2 changed files with 3 additions and 2 deletions
|
|
@ -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!"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue