Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-16331

Gumbo FxSpinner exceeds the specified minimum/maximum values if created using ActionScript

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Spinner
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Compile and run attached MXML file (or run SWF)
      2. With the FxCheckBox UNselected, increment the FxSpinner by clicking the up button. The values should go from 0 (default) > 2 > 4 > 6 > ... > 18 > 20 > 22.
      3. Again, with the FxCheckBox UNselected, decrement the FxSpinner by clicking the down button. The values should now go from 22 (oops! my maximum was set to 20?!) to 20 > 18 > ... > 6 > 4 > 2 > 0 > -2 (oops). If you reload the SWF you can also go directly from 0 (default) to -2 by clicking the down button once.

      Its important to note that you dont see this behavior if you create the FxSpinner control in MXML, or if valueWrap is true, the values correctly get wrapped.

      Actual Results:
      The FxSpinner has a minimum of 0 and maximum of 20, but it ACTUALLY seems to go from -2 to 22 (essentially minimum-stepSize to maximum+stepSize)

      Expected Results:
      Minimum should be 0. Maximum should be 20.

      Workaround (if any):
      Always create your FxSpinner in MXML, or set the valueWrap property to true.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: