diff options
author | 2023-06-01 10:46:33 +0200 | |
---|---|---|
committer | 2023-06-01 10:46:33 +0200 | |
commit | 9902e778167af8d4b108102619ee1ed8d0de0be5 (patch) | |
tree | 5a9e639b20efdf7317022dee26b387d6a707e165 /style/src/slider.rs | |
parent | ce64dcbfd44b59db36575e92428a7cf9c6f58fc7 (diff) | |
download | iced-9902e778167af8d4b108102619ee1ed8d0de0be5.tar.gz iced-9902e778167af8d4b108102619ee1ed8d0de0be5.tar.bz2 iced-9902e778167af8d4b108102619ee1ed8d0de0be5.zip |
Add border_radius to slider rail
Diffstat (limited to '')
-rw-r--r-- | style/src/slider.rs | 2 |
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. |