Measuring Text in TFL
Hello,
I've got a simple problem but haven't been able to fix it jet so hope you people form TFL will help me. I'm seting up a RichTextEditor component inside a BorderContainer so I can display richText with all its features on a special tooltip that pops up when I pass the mouse over a component.
The thing is that before I popUp the element with the popup manager I have to setup the richText in it, and then I have to setup the size of the BorderContainer so all the text gets displayed with no wrapping or clipping.
I tried to use the measuring porperties of the RichTextEditor but this properties are set on the measuring pass that at the same time happens some frames later that the popupManager actually puts the element on screen so I don't get the right size.
I haven been able to find a function to get a TextLineMetrics objecto or some other element for measuring ether, so wich is the right way to go here?
thanks
Sebastian
