Add _tableScrollView to _browserScrollView
Gah! Why?
Why not?
Because a scroll view only has one view you should be manipulating,
the scroll view's document view:
"NSScrollView instances provide scrolling services to its document
view. This is the only view that an application must provide a scroll
view"
See:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
NSScrollViewGuide/Articles/Basics.html#//apple_ref/doc/uid/TP40003461-
SW1>
You can't just add arbitrary subviews to a scroll view and hope
things work out. You either want to have a single scroll view whose
document view you swap out, or swap out the whole scroll view.
~Martin
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]