setting the text in a TextField without rendering the field first
Is there any way to set the text in a TextField without first rendering the field? I want to set some text on a bunch of text field which are not yet rendered, and then render them all at once, with a single call to layout(); the problem is that the method setRawText checks if the text field is rendered, and if it is not, it returns without doing anything. This makes it pretty much unusable for what I want to do.
My temporary solution is quite inelegant: I call layout after I set the text in a field, and I do this for each text field in turn; this gives a kind of cascading effect (which is understandable).
Is there any solution to this?