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

Label does not show any text if truncateToFit is false

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK 3.3 (Release)
    • Apache Flex 4.10.0
    • mx: Label
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1.
      Create a label
      2.
      set truncateToFit to false
      3.
      see that you see no text

      Actual Results:
      No text is visible at all

      Expected Results:
      Seeing text

      Workaround (if any):

      If you look at updateDisplayList you'll see a branch that does
      if (truncateToFit)
      {
      ...
      }

      in there it sets the textField.text to _text;

      this does not happen at all otherwise, therefore you're sitting there with valid text in
      _text, but it won't show

      can derive from label and set it manually in updateDisplayList i suppose

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: