Re: How to make NSSplitView not dragable
Re: How to make NSSplitView not dragable
- Subject: Re: How to make NSSplitView not dragable
- From: Uli Kusterer <email@hidden>
- Date: Fri, 1 May 2009 21:55:44 +0200
On 28.04.2009, at 18:44, Ashish Tiwari wrote:
I have a horizontal NSSplitView, I want the splitter bar should
remain in a fixed postion and user should not be able to change size
of upper subview or lower subview by dragging it.
Note: Split bar should be visible but not be drag able.
You don't need a split view in that case. Just create the two views
and leave a little gap between them, and set the resize springs and
struts accordingly. If you can't produce the desired results that way,
you might have to write a bit of code to position the two subviews
manually.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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