Hello, I have a dynamic textfield which receive the text the user input. And I want to make it like no matter how many words the user type, it always have the same area of the box,
say if the user type hello, the texfield box is
-
-
-
-
this large
and if the user type hello, the world, the textfield change to
-
-
the font seems smaller than the former one, but the total area remains the same. How should I make the coding so that it can have this kind of effect.
Thanks very much in advance!