On it...

On Wed, Sep 11, 2013 at 11:24 PM, Justin Mclean <jus...@classsoftware.com>wrote:

> Hi,
>
> Someone mind trying out this patch for the spark NumericSpinner?
>
> diff --git
> a/frameworks/projects/spark/src/spark/components/NumericStepper.as
> b/frameworks/projects/spark/src/spark/components/NumericStepper.as
> index 6a45b32..02d0ebf 100644
> --- a/frameworks/projects/spark/src/spark/components/NumericStepper.as
> +++ b/frameworks/projects/spark/src/spark/components/NumericStepper.as
> @@ -796,6 +796,7 @@ public class NumericStepper extends Spinner
>              if (dataFormatter == null)
>              {
>                  dataFormatter = new NumberFormatter();
> +                               dataFormatter.fractionalDigits =
> Math.max(0, (stepSize - Math.floor(stepSize)).toString().length - 2);
>                  addStyleClient(dataFormatter);
>              }
>
>
> And see if it fixes this issue:
> https://issues.apache.org/jira/browse/FLEX-33657
>
> Thanks,
> Justin

Reply via email to