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

Label incorrectly truncates text when the label scale is changed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Label
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows
      Browser: Internet Explorer 7.x
      Language Found: English

    Description

      Conditions:
      1. Have a label with no specified height and width.
      2. Have a label that's scaleX and scaleY can be proportionally changed.

      Steps to reproduce:
      1. Run the attached sample application.
      2. Move the HSlider to change the application scale to .9

      Actual Results:
      Text on the label reads " Scale: ..."

      Expected Results:
      Text on the label should read "Scale: 0.9"

      Workaround (if any):
      Create a class that extends Label and overrides measureText to add extra padding to the TextLineMetrics, or manually specify the width of the label.
      See the "Workwaround Label" in the attached sample application.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: