summaryrefslogtreecommitdiffstats
path: root/examples/slider/src/main.rs (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-111-28/+15
|
* 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 `f32` in `Length::Units` and rename it to `Fixed`Libravatar Héctor Ramón Jiménez2023-02-171-2/+2
|
* Split vertical orientation into VerticalSliderLibravatar Casper Storm2022-12-131-13/+7
|
* Vertical orientation added to Slider.Libravatar Casper Storm2022-12-121-0/+69