Does anybody have a workaround for using a NSStepper
control (many, in fact..) with an Increment set to 0.1 or anything other than integer values w/o calling setIncrement:
on each and every NSStepper
instance?
I've got an editor-like UI that requires steppers to change the values of their attaches NSTextField
instanced by tiny increments.
Setting the increment to a decimal value in Interface Builder (IB) causes it to round it to an integer - although the API accepts a double.
Even entering nothing in the increment field and using a NSStepper
subclass that calls setIncrement:
for all instances setting it to e.g. 0.1 on init
fails as IB apparently still sets the increment to 0 or something after init
was called..
Not sure how it does that, though, as the setIncrement:
override in the subclass isn't called...