NSToolbar breaks auto layout constraints of NSSplitView in window
NSToolbar breaks auto layout constraints of NSSplitView in window
- Subject: NSToolbar breaks auto layout constraints of NSSplitView in window
- From: Sean Todd <email@hidden>
- Date: Mon, 05 Dec 2011 16:34:15 -0600
I have a .xib file that uses auto layout. I setup a window with a sidebar using NSSplitView and NSOutlineView. Everything was working well with resizing the window until I added a NSToolbar. Things continued to look good when I resized the window in IB but not when the app is run. When the window's height is resized, the split view is no longer pinned to the top of its superview. I tried the same thing in a window of another .xib file and got the same result except that this time it was the bottom of the split view that was no longer pinned. Adding user defined constraints did not correct the problem. Removing the toolbar results in proper behavior again. Has anyone else experienced this problem? Am I missing something obvious? Any ideas for a workaround? Thanks for your help.
using Xcode 4.2.1.
Sean Todd
Mac Software Developer
XGrader
Toads End Software
_______________________________________________
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