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

RichText with percentWidth set will resize twice when the size is being validated.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: RichText
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Steps to reproduce:
      1. Run the attached RichTextInvalidateSizeBug2.swf (or compile and run the attached RichTextInvalidateSizeBug2.mxml)
      2. Hover with the mouse over the 2nd textblock.

      Actual Results:
      Flickering of the RichText component.

      Expected Results:
      No flickering.

      Workaround (if any):
      None

      The flickering occurs because the RichText is being invalidated (either by invalidateSize() or by appending text), the invalidation causes the control to be resized to a single line height component and immediately after this resize another (correct) resize happens.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: