summaryrefslogtreecommitdiffstats
path: root/examples/slider (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Update all `examples` to Rust 2024Libravatar Héctor Ramón Jiménez2025-02-211-1/+1
|
* Re-export variants of `Length` and `alignment` typesLibravatar Héctor Ramón Jiménez2024-07-121-3/+3
|
* Introduce helper methods for alignment for all widgetsLibravatar Héctor Ramón Jiménez2024-07-121-2/+2
|
* Add `iced` widget helper to display the iced logo :comet:Libravatar Héctor Ramón Jiménez2024-07-112-28/+16
|
* Ask for explicit `Length` in `center_*` methodsLibravatar Héctor Ramón Jiménez2024-05-131-4/+4
|
* Introduce `center` widget helperLibravatar Héctor Ramón Jiménez2024-05-031-10/+6
| | | | | | | | ... and also make `center_x` and `center_y` set `width` and `height` to `Length::Fill`, respectively. This targets the most common use case when centering things and removes a bunch of boilerplate as a result.
* Introduce `Program` APILibravatar Héctor Ramón Jiménez2024-03-161-10/+10
|
* Simplify `slider` exampleLibravatar Héctor Ramón Jiménez2024-01-311-23/+18
|
* Enhance `Slider` and `VerticalSlider` functionalityLibravatar Jonatan Pettersson2024-01-311-7/+26
| | | | | | | | | | | | | * Add optional default behavior * Add a `default` field * Add a `default()` method to set the `default` field * A double-click, ctrl-click or command-click will set the slider to the default value * Add optional fine-grained control * Add an optional `step_fine` field * Add a `step_fine()` method to set the `step_fine` field * Use `step_fine` in place of `step` while shift is pressed * Add increment/decrement via up/down keys * Update `Slider` and `VerticalSlider` examples
* Use workspace dependencies and package inheritanceLibravatar Héctor Ramón Jiménez2023-09-041-1/+1
| | | | | | We are also taking this as a chance to synchronize the versions of all the crates! Because of this, we will skip the `0.11` version.
* Use `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-2/+2
|
* updated README for slider exampleLibravatar Casper Storm2022-12-131-2/+2
|
* Split vertical orientation into VerticalSliderLibravatar Casper Storm2022-12-131-13/+7
|
* Vertical orientation added to Slider.Libravatar Casper Storm2022-12-124-0/+92