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

Label with percentWidth no 3 dots

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.3 (Release)
    • None
    • mx: Label
    • None
    • Affected OS(s): Windows
      Affected OS(s):
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      <mx:Canvas width="100" height="50" verticalScrollPolicy="off" horizontalScrollPolicy="off">
      <mx:Button label="aaa kklkx sdflkdsl sdfks" width="100%" height="20"/>
      </mx:Canvas>

      Actual Results:
      Text inside label is cut off

      Expected Results:
      text should be cut off, but with 3 dots at the end.

      Since parent width is 100, I believe both codes should do the same thing

      Workaround (if any):
      instead of setting percentWidth to 100 you manually hhave to set width to the same value as parent width
      <mx:Canvas width="100" height="50" verticalScrollPolicy="off" horizontalScrollPolicy="off">
      <mx:Button label="aaa kklkx sdflkdsl sdfks" width="100" height="20"/>
      </mx:Canvas>

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: