Author Topic: Updating an ML text control's extent to fit new text?  (Read 364 times)

Let me explain my problem here. Let's say you have an ML text control and it's extent is set to 1 1. If you then set some text <font:impact:70> Some Text, it won't update the extent. I can write up a method to do this and if I have to, i'll put it into the coding resources section. But before I go through that kind of hassle, does anyone know of any ways to achieve this?

I've tried %textObject.forceReflow(); nothing. I also tried %textObject.addText("text",reformat boolean); and still nothing.

::forceReflow is supposed to do that..

::forceReflow is supposed to do that..

It's supposed to, but doesn't.

EDIT: Let me try adding a schedule to the reflow.

Ahh, I figured out the problem.