Re: slipping NSViews as a NSSplit view under existing window contents.
Re: slipping NSViews as a NSSplit view under existing window contents.
- Subject: Re: slipping NSViews as a NSSplit view under existing window contents.
- From: Dave Batton <email@hidden>
- Date: Tue, 2 Jan 2007 23:50:58 +0100
Jaime,
The application has a window with elements that completely cover
the surface of the window. I need to modify that window by
separating the elements into two sections and place those sections
atop two NSViews aligned as a NSSplitView (to achieve a iTunes-like
window effect).
I struggled with trying to make an interface inside of splitters with
no margins. It's a real headache. I discovered the trick is to do the
layout for each side of the split view in a separate custom view,
then procedurally move these views into place at runtime.
I wrote about this technique in a blog entry with an example project:
<http://www.mere-mortal-software.com/blog/details.php?d=2006-12-21>
--
Dave Batton
Mere Mortal Software
http://www.Mere-Mortal-Software.com/
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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