Re: Positioning an NSView in an NSWindow
Re: Positioning an NSView in an NSWindow
- Subject: Re: Positioning an NSView in an NSWindow
- From: "Paolo Manna" <email@hidden>
- Date: Tue, 17 Jul 2007 08:32:36 +0100
[myView setBounds:myViewRect];
AFAIK, "bounds" is the internal representation of the view
coordinates: if you want to define the position in the superview, you
should use setFrame: instead.
Paolo
_______________________________________________
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