1 Reply Latest reply on Nov 20, 2012 12:46 AM by komal harkut

    Problem with decimal stepSize in the spark NumericStepper

    owita Level 1

      Hi together,

       

      I get problems when I define a decimal stepSize for a spark NumericStepper:

       

      <s:NumericStepper id="numericStepperRange" x="318" y="104" width="65"

                                                          maximum="20000.0" minimum="0.1"

                                                          stepSize="0.1" value="0.1" />

       

      When I click on the Up Arrow following numbers will be displayed: 0.1  >  1.1  >  11.1  >  111.1  >  1111.1  >  11111.1  >  20000.

       

      If I exchange the spark NumericStepper with the one from the MX component set, the problem does not occure.

       

      <mx:NumericStepper id="numericStepperRange" x="318" y="104" width="65"

          maximum="20000.0" minimum="0.1"

          stepSize="0.1" value="0.1" />

       

      0.1  >  0.2  >  0.3  >  0.4  >  0.5  > ...

       

      Maybe someone else had the same problem?

       

      Thanks!