• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to make NSSplitView not dragable
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: sheets
  • Next by Date: Re: question about mutable vs. non-mutable
  • Previous by thread: Re: sheets
  • Next by thread: Re: question about mutable vs. non-mutable
  • Index(es):
    • Date
    • Thread