... 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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||
| README.md | ||
| sliders.gif | ||
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