UITextField adjustsFontSizeToFitWidth doesn't work?
UITextField adjustsFontSizeToFitWidth doesn't work?
- Subject: UITextField adjustsFontSizeToFitWidth doesn't work?
- From: Laurent Daudelin <email@hidden>
- Date: Tue, 16 Oct 2012 23:14:44 -0700
I just realized while doing some testing that all my UITextField won't reduce the font size if there is more text to display than what the frame can show. I programmatically set the regular font size of the textfield to 13, minimumFontSize to 8 and adjustsFontSizeToFitWidth to YES, yet, the textfield simply adds an ellipsis after truncating the last word.
Am I missing something? I did a search and it seems this problem has been around since at least iOS 5 so one would think it would have been fixed in iOS 6. Or am I the problem?
-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin http://www.nemesys-soft.com/
Logiciels Nemesys Software email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden