Repositioning a content view w/in a window
Repositioning a content view w/in a window
- Subject: Repositioning a content view w/in a window
- From: "R.L. Grigg" <email@hidden>
- Date: Fri, 25 Jul 2008 18:08:02 -0700
I've created a NSWindow and set a content view. That displays fine,
but I need to be able to fine tune the position of the content view
within the window.
In the docs for NSWindow -setContentView it says:
"You can modify the content view’s coordinate system through its
bounds rectangle, but can’t alter its frame rectangle (that is, its
size or location) directly."
What can I use to move the content view's location up/down or left/
right within the window?
Xcode 3.1, OSX 10.5.4
Russ
_______________________________________________
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