I use an NSSPlitView with three subviews. The general idea is that when the 
window is resized, only the middle view resizes. I have this working just fine 
when dragging the window frame. The split view consults the delegate with 
splitView:shouldAdjustSizeOfSubview:, and I return YES when the subview is the 
middle view, and NO when the subview is one of the other views. (It's slightly 
more complex, due to minimum widths, but that can be ignored here.) When I drag 
the window frame, the splitView:shouldAdjustSizeOfSubview: is constantly 
consulted for each view, for the duration of the drag.


When zooming the window by clicking the zoom button though, all subviews are 
resized. The splitView:shouldAdjustSizeOfSubview: method is consulted only 
twice during the zoom and the split view goes off and does its own thing anyway.
How can I make the split view behave correctly during window zoom (and 
entering/exiting full-screen, which shows the same issue)?

-António

----------------------------------------------------
It is better to light a candle than to curse the darkness
----------------------------------------------------



_______________________________________________

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 Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to