Re: UITextField not shrinking text
Re: UITextField not shrinking text
- Subject: Re: UITextField not shrinking text
- From: Matt Neuburg <email@hidden>
- Date: Tue, 1 Feb 2011 13:28:37 -0800
On Tue, 1 Feb 2011 09:03:43 +0100, Remco Poelstra <email@hidden> said:
>Hi,
>
>When I set an UILabel to adjustFontSizeToFitWidth=YES with a fontSize of 10, the label behaves as expected when I place long text in the label. When I do the same for an UITextField, the text shrinks a bit, but not to font size 10. Does anybody know why that is?
Perhaps Apple's reasoning is: Unlike a UILabel, the UITextField is horizontally scrollable: the user can tap in it to see more of it. So it doesn't have to shrink as much. On the other hand, this is not at all clear from the docs, so I'd suggest filing a bug. Poke the hornet's nest and see what flies out of it... m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
http://www.apeth.net/matt/default.html#applescriptthings_______________________________________________
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