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

Re: addsubview


  • Subject: Re: addsubview
  • From: Martin Wierschin <email@hidden>
  • Date: Fri, 20 Apr 2012 14:58:54 -0700

> I have searched high and low and can find no reason for a subview to not display.  Is this a trivial problem not worthy of list comment or is it truly a difficult problem that cannot be dealt with as easily as more mundane topics found here?

You've waited only about 90 minutes since your last email. This message list isn't a service you pay for, it's just a great community, and your impatient attitude doesn't encourage others to help.

>>   NSRect frame = [self frame];
>>   frame.size.width = 288;
>>   frame.size.height = 259;

You should probably be calling [self bounds], since you're positioning the new subview inside the receiver (self), not inside the view containing the receiver.

~Martin


_______________________________________________

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: 
 >Re: addsubview (From: koko <email@hidden>)
 >Re: addsubview (From: koko <email@hidden>)

  • Prev by Date: Re: NSDateFormatter problem
  • Next by Date: Re: addsubview
  • Previous by thread: Re: addsubview
  • Next by thread: Re: addsubview
  • Index(es):
    • Date
    • Thread