参考这里面,具体什么原因导致的还不清楚
http://idletogether.com/automatically-resize-texttextarea-based-on-content-autosize-in-flex/
txtLabel.validateNow();
txtLabel.mx_internal::getTextField().autoSize = TextFieldAutoSize.LEFT;
txtLabel.height = txtLabel.mx_internal::getTextField().height;
http://idletogether.com/automatically-resize-texttextarea-based-on-content-autosize-in-flex/
txtLabel.validateNow();
txtLabel.mx_internal::getTextField().autoSize = TextFieldAutoSize.LEFT;
txtLabel.height = txtLabel.mx_internal::getTextField().height;
本文介绍了一种在Flex框架中使文本域根据内容自动调整大小的方法。通过调用特定的验证方法和设置文本域的自动调整属性实现这一功能。
1012

被折叠的 条评论
为什么被折叠?



