Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 3.3 (Release)
-
None
-
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>