Expand description
Numeric stepper with - / + buttons flanking a value label.
Stateless w.r.t. the value: the host owns the i32 and rebuilds the
widget each frame. The on_change callback receives the new value
(clamped to min..=max) when a side is tapped.
Structs§
- Spin
Button - Numeric stepper widget.
Enums§
- Spin
Orientation - Layout direction for a
SpinButton.
Functions§
- horizontal_
spin_ button - Horizontal spinner
[-] [value] [+]. - vertical_
spin_ button - Vertical spinner stacked plus-on-top / value / minus-on-bottom.