summaryrefslogtreecommitdiffstats
path: root/graphics/src/widget/progress_bar.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove redundant `widget` modules in subcratesLibravatar Héctor Ramón Jiménez2022-03-091-5/+0
| | | | Instead, we can define the type aliases just once in the root crate!
* Remove `widget` module re-exports in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-311-1/+1
|
* Implement `Widget::draw` for `ProgressBar`Libravatar Héctor Ramón Jiménez2021-10-281-19/+1
|
* Remove trait-specific draw logic in `iced_native`Libravatar Héctor Ramón Jiménez2021-10-141-52/+1
|
* Account for empty ranges in `Slider` and `ProgressBar`Libravatar Héctor Ramón Jiménez2020-11-261-3/+6
|
* fix active_progress_width formulaLibravatar rubik832020-11-261-1/+1
| | | | | | change : let active_progress_width = bounds.width * ((value - range_start) / (range_end - range_start).max(1.0)) to : let active_progress_width = bounds.width * ((value - range_start) / (range_end - range_start).max(f32::EPSILON)).max(0.0).min(1.0)
* Use recently stabilized intra-doc linksLibravatar Héctor Ramón Jiménez2020-11-261-2/+0
| | | | See RFC: https://github.com/rust-lang/rfcs/blob/master/text/1946-intra-rustdoc-links.md
* Use `f32` for `border_width` and `border_radius`Libravatar Héctor Ramón Jiménez2020-11-231-2/+2
|
* Merge unnecessary split widget modulesLibravatar Héctor Ramón Jiménez2020-05-191-1/+59
|
* Draft new `iced_graphics` crate :tada:Libravatar Héctor Ramón Jiménez2020-05-191-0/+15