Reintroduce Box for style_sheet in Scrollable
This commit is contained in:
parent
48490c3d87
commit
eed19dcf81
6 changed files with 29 additions and 17 deletions
|
|
@ -95,7 +95,7 @@ impl Sandbox for ScrollableDemo {
|
|||
.on_scroll(move |offset| {
|
||||
Message::Scrolled(i, offset)
|
||||
})
|
||||
.style(theme.clone().into())
|
||||
.style(*theme)
|
||||
.push(Text::new(variant.title))
|
||||
.push(
|
||||
Button::new(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue