• 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. Stopping the split moving
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSplitview. Stopping the split moving


  • Subject: Re: NSSplitview. Stopping the split moving
  • From: "I. Savant" <email@hidden>
  • Date: Sat, 14 Jun 2008 19:32:42 -0400

I have an NSplitview similar to Mails. I'm trying to fix the split so it doesn't move just like Mail but can't for the life of me figure out how to do it. My left split has an Outlineview and the right split a tableview. Resizing the window always moves the split upsetting the visual appearance of the sourcelist in the left split.

See NSSplitView's delegate methods. When it wants to resize its frames, keep the left frame the same and the right fills the remaining space (don't forget to ask the split view for its divider thickness and include that in your calculations).


This might be better served in the xcode list so apologies if I'm posting incorrectly.

Nope. This is specific to Cocoa. (I find that strange to write; usually I'm directing people *to* the xcode-users list because it's *not* specific to Cocoa. :-))


--
I.S.


_______________________________________________

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. Stopping the split moving (From: Steven Hamilton <email@hidden>)

  • Prev by Date: Re: NSSplitview. Stopping the split moving
  • Next by Date: Re: NSSplitview. Stopping the split moving
  • Previous by thread: Re: NSSplitview. Stopping the split moving
  • Next by thread: Valid contentObject for NSTreeController (Core Data)
  • Index(es):
    • Date
    • Thread