Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 04-25-2009, 11:36 PM   #23 (permalink)
Vortec4800
Registered Member
 
Join Date: Sep 2008
Posts: 160
Default

Quote:
Originally Posted by john855 View Post
I tried that, and now I have to specify the height of the label. I can get it to wrap but only to the height of the label. I am giving up and figuring something else out.

Hard to believe something so simple can be so difficult, I must be missing something. I am just trying to put some text in a single grouped table view cell!
The idea is to use the same sizeWithFont method described earlier in this thread to calculate the height that the label would need to be to show all of the text. This calculated height is what you put in for the label's height value.
Vortec4800 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,851
Threads: 89,215
Posts: 380,665
Top Poster: BrianSlick (7,129)
Welcome to our newest member, suseline113
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:49 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.