onRoll >> bubble info
The key property is Textfield.autosize.
When you dynamically create your text field, make sure this property is set to true.
this.createTextField(label, level, x position, y position, width, height);
this.label.autosize = true;
And once you set autosize to true, the width and height of the textfield are overwritten.
the_protectot
|