On Sep 18, 2008, at 3:53 AM, [EMAIL PROTECTED] wrote:
Hi all,I found a tricky thing in Tiger: In Nib file, I have a NSScrollView in the window, and I put an NSImageView all above it, for I don't want to see the scrollView. But when window shows, I can see the scroller! In Leopard,the imageview covers the scroller. Did I miss something? Thanks in advance!
Hi! I'm not sure that I understand you correctly, but if I do: All versions of Mac OS X before Leopard do *not* enforce clipping among sibling subviews. Unless you're using Leopard, therefore, it is not at all supported to place an image view *on top of* a scroll view. Is this what you meant?
If you need to have the image view on top of the scroll view in Tiger, and there are no other options, I might suggest a borderless window that contains the image view, and configure it such that it will move along with the main window.
Cheers, Andrew
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 [EMAIL PROTECTED]