• 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: Overcoming crappiness of NSSplitView - what's the magic?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Overcoming crappiness of NSSplitView - what's the magic?


  • Subject: Re: Overcoming crappiness of NSSplitView - what's the magic?
  • From: Rob Keniger <email@hidden>
  • Date: Wed, 16 Sep 2009 10:35:50 +1000


On 16/09/2009, at 12:01 AM, Graham Cox wrote:
1. When I drag the splitter directly, it moves allowing me to position it where I want within the constrained min and max of the contained views.
2. When the window resizes I want the split to stay exactly where it is relative to the top of the window. I do not want it to move proportionally which seems to be the default. In other words the window resize affects the bottom pane only, even though the top one can be resized by the split. Whoever decided that was a sensible behaviour for the default anyway?
3. When the window is resized programatically as well as drag- resized, 2. needs to be true also.


Have a look at this excellent article by Matt Gallagher:

http://cocoawithlove.com/2009/09/nssplitview-delegate-for-priority-based.html

--
Rob Keniger



_______________________________________________

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


References: 
 >Overcoming crappiness of NSSplitView - what's the magic? (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: [myNSWindow setDocumentEdited:dirtyB] fail ??
  • Next by Date: [SOLVED]Re: Overcoming crappiness of NSSplitView - what's the magic?
  • Previous by thread: Re: Overcoming crappiness of NSSplitView - what's the magic?
  • Next by thread: GameKit Detecting Bluetooth
  • Index(es):
    • Date
    • Thread