Re: scrolling NSTextView over NSImageView
Re: scrolling NSTextView over NSImageView
- Subject: Re: scrolling NSTextView over NSImageView
- From: Scott Anguish <email@hidden>
- Date: Wed, 12 Jul 2006 00:37:12 -0400
On Jul 11, 2006, at 9:29 PM, Andreas Mayer wrote:
Am 12.07.2006 um 01:31 Uhr schrieb Nathan Herring:
I have an NSTextView where I've programmatically
setDrawsBackground:FALSE on both itself and its NSClipView superview.
Instead of sending setDrawsBackground:NO (not FALSE) to the clip
view, send it to the scroll view.
From the documentation:
"If your NSScrollView encloses an NSClipView sending a
setDrawsBackground: message with a parameter of NO to the
NSScrollView has the added effect of sending the NSClipView a
setCopiesOnScroll: message with a parameter of NO. The side effect
of sending the setDrawsBackground: message directly to the
NSClipView instead would be the appearance of “trails” (vestiges of
previous drawing) in the document view as it is scrolled."
it is also important to note that Views really don't work well
overlapping. They're not intended too.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden