有没有办法截断多行文本...在mx:Text控件中。它有truncateToFit属性,但似乎不起作用。
<mx:Text id="txt_Description" text="{data.Description}" width="100%" height="70" truncateToFit="true" />发布于 2011-01-21 20:09:55
是的,truncateToFit和一些组件或html文本有几个问题:
这里有一些解决方法:
http://cookbooks.adobe.com/post_Get_truncateToFit_for_htmlText_with_and_without_te-16580.html http://cookbooks.adobe.com/index.cfm?event=showdetails&postId=13306
https://stackoverflow.com/questions/4758392
复制相似问题