summaryrefslogtreecommitdiffstats
path: root/examples/scrollable
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-14 19:37:15 +0200
committerLibravatar Héctor Ramón Jiménez <hector@hecrj.dev>2023-09-14 19:37:15 +0200
commitbebb2b0252cba7af3641e28a12de2c6db46b8946 (patch)
tree2d2a9e00949767a27c40c7e24488f2850e7f3daa /examples/scrollable
parent2c782bbe7a048f6f091e15f68de29a846b9bb059 (diff)
downloadiced-bebb2b0252cba7af3641e28a12de2c6db46b8946.tar.gz
iced-bebb2b0252cba7af3641e28a12de2c6db46b8946.tar.bz2
iced-bebb2b0252cba7af3641e28a12de2c6db46b8946.zip
Fix styling of horizontal scrollbar in `scrollable` example
Diffstat (limited to 'examples/scrollable')
-rw-r--r--examples/scrollable/src/main.rs4
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(),
},