开发者

flex 4 autosize text

开发者 https://www.devze.com 2023-03-22 20:41 出处:网络
I have a grid of text boxes in my Flex 4 app that loads an xml file and displays whatever is written there. The number of boxes won\'t change, but the text inside them will. This is a sign that needs

I have a grid of text boxes in my Flex 4 app that loads an xml file and displays whatever is written there. The number of boxes won't change, but the text inside them will. This is a sign that needs to be readable from a distance so I need the font to autosize to fit. So it should go large if it can, if not, it should be just large enough to display what's in the box.

I've tried RichText, RichEditableText, and TextArea and not开发者_高级运维hing seems to work. The other posts on autosizing text at Stackoverflow weren't helpful either. Does anyone know how to do this?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号