Re: addsubview
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