Fix an issue with the spinbox buttons.
This commit is contained in:
parent
7724b8059d
commit
f7531383f3
|
@ -7,12 +7,13 @@ function UISpinBox.create()
|
||||||
spinbox:setValidCharacters('0123456789')
|
spinbox:setValidCharacters('0123456789')
|
||||||
spinbox.displayButtons = true
|
spinbox.displayButtons = true
|
||||||
spinbox.minimum = 0
|
spinbox.minimum = 0
|
||||||
spinbox.maximum = 0
|
spinbox.maximum = 1
|
||||||
spinbox.value = 0
|
spinbox.value = 0
|
||||||
spinbox.step = 1
|
spinbox.step = 1
|
||||||
spinbox.firstchange = true
|
spinbox.firstchange = true
|
||||||
spinbox.mouseScroll = true
|
spinbox.mouseScroll = true
|
||||||
spinbox:setText("0")
|
spinbox:setText("0")
|
||||||
|
spinbox:setValue(1)
|
||||||
return spinbox
|
return spinbox
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue