mirror of
https://github.com/danbulant/cushy
synced 2026-06-19 06:21:15 +00:00
parent
62dded16ef
commit
0e0c26fa3b
2 changed files with 3 additions and 1 deletions
|
|
@ -126,6 +126,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
contents. This means that the scroll bars are now clickable even in areas
|
||||
where interactive widgets are beneath them.
|
||||
- `GraphicsContext::fill` now properly fills the entire region of the widget.
|
||||
- `Slider` now correctly calculates its width when in a fully `SizeToFit`
|
||||
layout.
|
||||
|
||||
### Added
|
||||
|
||||
|
|
|
|||
|
|
@ -548,7 +548,7 @@ where
|
|||
// user of the slider, a horizontal slider is expected. So, we
|
||||
// set the minimum measurement based on a horizontal
|
||||
// orientation.
|
||||
Size::new(width.min(minimum_size), static_side)
|
||||
Size::new(width.max(minimum_size), static_side)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue