If minimum or maximum is set for a spinner widget, automatically
adjust the value if its too low or high.