• 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: NSSplitView resizing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitView resizing


  • Subject: Re: NSSplitView resizing
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Wed, 26 Aug 2009 11:51:55 -0400
  • Mail-followup-to: email@hidden

> I have a window containing a NSSplitView. When the window is resized, both panes of the split view resize proportionally. I would like one pane to remain fixed while the other resizes. Xcode does this, as well as iCal and other apps.
>
> Is there a delegate method that does this or must I subclass NSSplitView?

You can achieve this with the -splitView:resizeSubviewsWithOldSize:
delegate method.

-Ben
_______________________________________________

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: 
 >NSSplitView resizing (From: Oftenwrong Soong <email@hidden>)

  • Prev by Date: NSSplitView resizing
  • Next by Date: Re: Normalize an NSAttributedString
  • Previous by thread: NSSplitView resizing
  • Next by thread: Re: NSSplitView resizing
  • Index(es):
    • Date
    • Thread