iced/examples/slider
Héctor Ramón Jiménez 15057a05c1
Introduce center widget helper
... 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.
2024-05-03 09:11:46 +02:00
..
src Introduce center widget helper 2024-05-03 09:11:46 +02:00
Cargo.toml Use workspace dependencies and package inheritance 2023-09-04 13:08:17 +02:00
README.md updated README for slider example 2022-12-13 10:13:27 +01:00
sliders.gif Vertical orientation added to Slider. 2022-12-12 15:27:00 +01:00

Slider

A Slider is a bar and a handle that selects a single value from a range of values. There exists both Slider and VerticalSlider depending on which orientation you need.

You can run it with cargo run:

cargo run --package slider