diff options
author | 2023-09-14 23:13:14 +0200 | |
---|---|---|
committer | 2023-09-14 23:13:14 +0200 | |
commit | 4613eb26cba3ded83f25ebdefd01c983c79a9d59 (patch) | |
tree | 968a55dc12d9b4115f936d0d29f724f142980340 /examples | |
parent | 9245423c5d82f88c99adecaaf5dd2ac3559a05a8 (diff) | |
parent | ed11b04f6054809ea55ec9b3f0bd221ac2caf9ca (diff) | |
download | iced-4613eb26cba3ded83f25ebdefd01c983c79a9d59.tar.gz iced-4613eb26cba3ded83f25ebdefd01c983c79a9d59.tar.bz2 iced-4613eb26cba3ded83f25ebdefd01c983c79a9d59.zip |
Merge pull request #2084 from iced-rs/fix/horizontal-scrollbar-width
Fix width of horizontal scrollbar in `Scrollable`
Diffstat (limited to 'examples')
-rw-r--r-- | examples/scrollable/src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/scrollable/src/main.rs b/examples/scrollable/src/main.rs index 8c08d993..21e69284 100644 --- a/examples/scrollable/src/main.rs +++ b/examples/scrollable/src/main.rs @@ -389,12 +389,12 @@ impl scrollable::StyleSheet for ScrollbarCustomStyle { background: style .active(&theme::Scrollable::default()) .background, - border_radius: 0.0.into(), + border_radius: 2.0.into(), border_width: 0.0, border_color: Default::default(), scroller: Scroller { color: Color::from_rgb8(250, 85, 134), - border_radius: 0.0.into(), + border_radius: 2.0.into(), border_width: 0.0, border_color: Default::default(), }, |