[FMX][AS] Change Textfield Size with actionscript

I have a textfield which loads dynamic text. After this text is loaded i want to be able to change the size/position of the field with the click of a button. (To a set value, not for the user to drag bigger etc).

i have tried

_root.myTextbox._width = 400; but it doesnt work

thanks

hmm nm its working now… i am stupid :slight_smile: