Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSSplitView IB and auto resize problems



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.