How to dynamically resize GTextField?


#1

Hi,

I’m using the G4P library and I’m trying to create a text field that will automatically resize when the user enters more and more text. However, I am unable to find a setWidth() method, is there any other way that I can implement this?

Thanks!

@quark (G4P creator please help!)


#2

It is not possible to resize a GTextfield once it has been created, but you can have a scrollbar automatically if the text gets too long.