• 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: NSBox sizeToFit problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSBox sizeToFit problem


  • Subject: Re: NSBox sizeToFit problem
  • From: Bill Hernandez <email@hidden>
  • Date: Thu, 6 May 2010 10:17:48 -0500

On May 6, 2010, at 10:07 AM, Jerry Krinock wrote:

> Maybe all the objects in your nib have not been created yet.  Try invoking -sizeToFit in an -awakeFromNib method instead of -applicationDidFinishLaunching.  Even if it doesn't fix the problem, it's still better.

I ran into the same problem the other day and could not get it to work as I had hoped, so I gave up and did something different. I didn't reply earlier because I didn't have a solution, I just figured it was me. I thought "when I get time I'll have to try again..."

Best Regards,

Bill Hernandez
Plano, Texas

_______________________________________________

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

References: 
 >NSBox sizeToFit problem (From: Ingvar Nedrebo <email@hidden>)
 >Re: NSBox sizeToFit problem (From: Jerry Krinock <email@hidden>)

  • Prev by Date: drawRect not called when hosting Layers
  • Next by Date: Re: NSBox sizeToFit problem
  • Previous by thread: Re: NSBox sizeToFit problem
  • Next by thread: Re: NSBox sizeToFit problem
  • Index(es):
    • Date
    • Thread