When declaring float numeric fields with a label field in the form, only the first numeric field accepts floats and the rest of them are integers regardless of the declaration.
It matters not where the label appears.
Example with floats:
+++++++++++++++
yad --form --width=800 --title="Provide Information" --text="Please Provide Further Information." --field="Color Scale Min Tick Value:num" '0.0!-10..10!0.0001!7' --field="Color Scale Max Tick Value:num" '0.0!-10..10!0.0001!7' --field="Does The Color Scale Tick Start At Zero?:CHK" TRUE --field="Plot X Scale Min Tick Value:num"
Here, both float fields are fine.
Example with a label:
++++++++++++++++
yad --form --width=800 --title="Provide Information" --text="Please Provide Further Information." --field="Color Scale Min Tick Value:num" '0.0\!-10..10\!0.0001\!7' --field=":lbl" --field="Color Scale Max Tick Value:num" '0.0\!-10..10\!0.0001\!7' --field="Does The Color Scale Tick Start At Zero?:CHK" TRUE --field="Plot X Scale Min Tick Value:num"
Here, only the first numeric field is float. The rest are integer.
The values are assigned to all form fields sequentially, so you have to add a value for the label field:
yad --form --width=800 --title="Provide Information" --text="Please Provide Further Information." --field="Color Scale Min Tick Value:num" '0.0\!-10..10\!0.0001\!7' --field=":lbl" "" --field="Color Scale Max Tick Value:num" '0.0\!-10..10\!0.0001\!7' --field="Does The Color Scale Tick Start At Zero?:CHK" TRUE --field="Plot X Scale Min Tick Value:num"
Last edit: yeahchaos 2018-10-30