• 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
Re: UIView, UILabel, and sizeToFit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UIView, UILabel, and sizeToFit


  • Subject: Re: UIView, UILabel, and sizeToFit
  • From: Fritz Anderson <email@hidden>
  • Date: Wed, 28 Apr 2010 11:50:34 -0500

On 27 Apr 2010, at 8:56 PM, Matt James wrote:

> Unfortunately, NSLog-ing the values of label.frame.size.width and
> containerView.frame.size.width shows that the values are "0".

Show us your code, particularly all the lines that call NSLog. The first thing I'm looking to see is whether you're trying to print the width with %d or %i.

	— F

_______________________________________________

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

  • Follow-Ups:
    • Re: UIView, UILabel, and sizeToFit
      • From: Matt James <email@hidden>
    • Re: UIView, UILabel, and sizeToFit
      • From: Luke the Hiesterman <email@hidden>
References: 
 >UIView, UILabel, and sizeToFit (From: Matt James <email@hidden>)

  • Prev by Date: [Moderator] Re: menu madness with retain count
  • Next by Date: Re: Cocoa Newbie & MySQL
  • Previous by thread: UIView, UILabel, and sizeToFit
  • Next by thread: Re: UIView, UILabel, and sizeToFit
  • Index(es):
    • Date
    • Thread