I need to know if there is some way to determine how large a text can possibly be in a textfield with fixed size.
An example of what I want to do:
Lets say I have a textfield with the size. 200 x 75 pixels.
I would like the text that is put into the textfield to automatically be as large as possible without forcing the textfield to expand. Like, if I for instance would put a single lower case letter 'a' using Arial into the textfield, that letter should automatically get the size 44, which is as large it can get having the dimensions above.
Hope I'm beeing clear enough. I don't care how "pretty" the solution is, I just need to get it working one way or another.
Thank you for your suggestions!