In flex, how to find the number of characters that can be fit for a text control of a given height?
In flex, I have mx:Text component. How can I find how many characters can fit into it without vertical scroll for a certain height &开发者_运维百科amp; font etc.
I think you need the TextLineMetrics class.
But, I imagine things might be a bit tricky if you're dealing with multiline text.
精彩评论