SpinButton.setRange

Sets the minimum and maximum allowable values for @spin_button.

If the current value is outside this range, it will be adjusted to fit within the range, otherwise it will remain unchanged.

class SpinButton
void
setRange
(
double min
,
double max
)

Parameters

min double

minimum allowable value

max double

maximum allowable value

Meta