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

setStyle("color", null), does not return to original setting for Label and Text

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Label, mx: Text
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Take the code from the last example on http://livedocs.adobe.com/flex/3/html/help.html?content=styles_08.html
      2. Replace the Button with Label or Text

      Actual Results:
      The color of the text remains the same even when setStyle("color", null) is executed. It seems that the value is actually set to null, but the text color is not updated.

      Expected Results:
      The color should return to the default value, red.

      Workaround:
      Use clearStyle("color") instead

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: