summaryrefslogtreecommitdiffstats
path: root/style/src/slider.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector0193@gmail.com>2023-06-01 17:44:00 +0200
committerLibravatar GitHub <noreply@github.com>2023-06-01 17:44:00 +0200
commitb353767d2d9703aae35f10ebf8a9ee1490c3ae37 (patch)
tree6fb38a3e4d1fb93eb66ba51bf761841c49cd58cc /style/src/slider.rs
parent44748664c14ad5eec3fc932f278bacf0b01173e3 (diff)
parent66d4decc0c5c6ea787ec482ff6841829dfc7ffba (diff)
downloadiced-b353767d2d9703aae35f10ebf8a9ee1490c3ae37.tar.gz
iced-b353767d2d9703aae35f10ebf8a9ee1490c3ae37.tar.bz2
iced-b353767d2d9703aae35f10ebf8a9ee1490c3ae37.zip
Merge pull request #1892 from casperstorm/feat/slider-rail-border-radius
Add `border_radius` to slider rail
Diffstat (limited to '')
-rw-r--r--style/src/slider.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/style/src/slider.rs b/style/src/slider.rs
index ca115f46..f0068558 100644
--- a/style/src/slider.rs
+++ b/style/src/slider.rs
@@ -17,6 +17,8 @@ pub struct Rail {
pub colors: (Color, Color),
/// The width of the stroke of a slider rail.
pub width: f32,
+ /// The border radius of the corners of the rail.
+ pub border_radius: BorderRadius,
}
/// The appearance of the handle of a slider.