UITextField rigtht frame

Posted by JustMe on Stack Overflow See other posts from Stack Overflow or by JustMe
Published on 2010-06-05T08:13:23Z Indexed on 2010/06/05 8:22 UTC
Read the original article Hit count: 261

Filed under:
|
|

Hi,

I have a peace of code like this:

CGSize lSize = [@"Hello World" sizeWithFont:[UIFont fontWithName:@"Arial" size:13]];

Now I want to have the right frame to see this text in the UITextField. I don't want to change the font size just have the frame for UITextField to fit with this text.

I will really appreciate any helps

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uitextfield