NSSplitView IB and auto resize problems
NSSplitView IB and auto resize problems
- Subject: NSSplitView IB and auto resize problems
- From: Monte Ohrt <email@hidden>
- Date: Sun, 27 Jan 2008 14:02:11 -0600
Hi,
I'm a bit new to cocoa development, and hopefully I'm missing something
simple here.
I'm trying to create a simple NSSplitView with one vertical divider. I
want the entire NSSplitView to stretch with the main program window
(which it does by default), but I want the width of the left view to
retain its initial width (example, like how apple mail works.) I tried
setting the left view's anchors to top/left/bottom and have it stretch
vertically but not horizontally in IB (and the little red preview pane
indicates the behavior I want.) However, when I hold down the apple key
to preview the auto resize, both windows resize proportionally to the
entire window. How do I get the left view to keep it's width (ie.
vertical divider should not move) ?
btw, I have not put any contents inside the left or right views, I'm
just trying to get the auto resize to work first.
TIA
Monte
_______________________________________________
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