escoz / QuickDialog

QuickDialog - Quick and easy dialog screens for iOS
http://escoz.com/open-source/quickdialog
Other
3.07k stars 637 forks source link

"type":"QFloatElement" in json is not slidable #614

Closed horaceho closed 10 years ago

horaceho commented 10 years ago

When I run the sample app > Json data, the "Progress" slider is disabled (the slider cannot be moved). I tried moving the line:

{ "type":"QFloatElement", "title":"Progress", "floatValue":0.5},

into another json file (e.g. jsonadvancedsample.json), it is also disabled.

How can I make the slider slidable?

horaceho commented 10 years ago

Fixed by adding minimumValue and maximumValue:

{ "type":"QFloatElement", "title":"Progress", "floatValue":0.5, "minimumValue":0.1, "maximumValue":2.0},