Re: NSScroller will be visible even it is below other view in 10.4
Re: NSScroller will be visible even it is below other view in 10.4
- Subject: Re: NSScroller will be visible even it is below other view in 10.4
- From: Andrew Merenbach <email@hidden>
- Date: Thu, 18 Sep 2008 12:13:32 -0700
On Sep 18, 2008, at 3:53 AM, email@hidden 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
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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:
This email sent to email@hidden