diff options
author | 2022-06-01 01:56:46 +0200 | |
---|---|---|
committer | 2022-06-01 01:56:46 +0200 | |
commit | c275fde67a7f5d1d5789540dc7905250a2f01fe7 (patch) | |
tree | e3ebeeebaeb69ff415b30d3720b00a8c0abf2d32 /examples/scrollable/src/main.rs | |
parent | 6f69df3d415bfc922ce15539746026843bd410e6 (diff) | |
download | iced-c275fde67a7f5d1d5789540dc7905250a2f01fe7.tar.gz iced-c275fde67a7f5d1d5789540dc7905250a2f01fe7.tar.bz2 iced-c275fde67a7f5d1d5789540dc7905250a2f01fe7.zip |
Implement theme styling for `Rule`
Diffstat (limited to 'examples/scrollable/src/main.rs')
-rw-r--r-- | examples/scrollable/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scrollable/src/main.rs b/examples/scrollable/src/main.rs index e49aa63b..e95f296c 100644 --- a/examples/scrollable/src/main.rs +++ b/examples/scrollable/src/main.rs @@ -179,7 +179,7 @@ impl Sandbox for ScrollableDemo { .spacing(20) .padding(20) .push(choose_theme) - .push(Rule::horizontal(20).style(self.theme)) + .push(Rule::horizontal(20)) .push(scrollable_row); Container::new(content) |