• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
UITextField adjustsFontSizeToFitWidth doesn't work?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: GameCenter difficulties
  • Next by Date: lambda in C++
  • Previous by thread: GameCenter difficulties
  • Next by thread: Re: UITextField adjustsFontSizeToFitWidth doesn't work?
  • Index(es):
    • Date
    • Thread