Fix an issue with the spinbox buttons.

This commit is contained in:
BenDol 2014-07-13 03:57:38 +12:00
parent 7724b8059d
commit f7531383f3
1 changed files with 2 additions and 1 deletions

View File

@ -7,12 +7,13 @@ function UISpinBox.create()
spinbox:setValidCharacters('0123456789')
spinbox.displayButtons = true
spinbox.minimum = 0
spinbox.maximum = 0
spinbox.maximum = 1
spinbox.value = 0
spinbox.step = 1
spinbox.firstchange = true
spinbox.mouseScroll = true
spinbox:setText("0")
spinbox:setValue(1)
return spinbox
end