Re: constraining autoresizing of a splitview subview

2008-12-13 Thread christophe mckeon gonzalez de leon
wow that was fast! thanks guys ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 Subscr

Re: constraining autoresizing of a splitview subview

2008-12-13 Thread Patrick Mau
Hi Christophe The code below should be implemented in your NSSplitView's delegate. The 'sender' argument is your splitView. It will pick the first two subviews and adjust the width of the right subview (index 1). The height will be adjusted to your splitview's frame. I hope it's useful, Patrick

Re: constraining autoresizing of a splitview subview

2008-12-13 Thread Kevin Gessner
http://www.omnigroup.com/mailman/archive/macosx-dev/2004-March/051353.html HTH, -- Kevin Kevin Gessner http://kevingessner.com ke...@kevingessner.com On Dec 13, 2008, at 7:39 PM, christophe mckeon gonzalez de leon wrote: hi, i have a splitview containing two vertical subviews. i'd like t

constraining autoresizing of a splitview subview

2008-12-13 Thread christophe mckeon gonzalez de leon
hi, i have a splitview containing two vertical subviews. i'd like the user to be able to resize the the views at will via. the divider, but when the splitview is resized due to a window resize for instance, i want only one of the subviews to be autoresized in the horizontal direction, while both a