I am using a datafield of type AddEditNumberArrows, and I want to have increase or decresase of 0.1
I defined it like this:
And I initialized it in the following way:
Currently, the values of increments or decrementations are egal to 1.
How to have 0.1 ?
you have to use the step parameter as showned in the documentation here
self.SetFloat(datafield_displacement, 1.0, min=0.0, step=0.1)