On Tue, 1 Feb 2011 09:03:43 +0100, Remco Poelstra <re...@beryllium.net> 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 = m...@tidbits.com, <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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to