Reduce default Rail::width of Slider widget

This commit is contained in:
Héctor Ramón Jiménez 2024-03-08 00:01:51 +01:00
parent 8fe7f9e435
commit 00e7035622
No known key found for this signature in database
GPG key ID: 7CC46565708259A7

View file

@ -580,8 +580,8 @@ pub fn default(theme: &Theme, status: Status) -> Appearance {
Appearance {
rail: Rail {
colors: (color, palette.secondary.base.color),
width: 6.0,
border_radius: 3.0.into(),
width: 4.0,
border_radius: 2.0.into(),
},
handle: Handle {
shape: HandleShape::Circle { radius: 7.0 },