scrolling NSTextView over NSImageView
scrolling NSTextView over NSImageView
- Subject: scrolling NSTextView over NSImageView
- From: "Nathan Herring" <email@hidden>
- Date: Tue, 11 Jul 2006 16:31:28 -0700
- Thread-topic: scrolling NSTextView over NSImageView
I have an NSTextView where I've programmatically setDrawsBackground:FALSE on both itself and its NSClipView superview. This NSTextView sits inside the contentview of an NSBox on top of (partially overlapping) an NSImageView. I then put in enough text into the text container to cause the scroll bars to appear (they're set to auto-hide). The unfortunate result is that if I scroll up and down, the image behind it partially scrolls with it, which looks completely screwed up. If I resize the window or minimize/restore the window, the background drawing reasserts itself.
Is this a known issue? Is there some quirky thing I need to be doing to make the NSTextView forcibly refresh itself?
Mac OS X 10.4.7, PPC. IB 2.5.4 (446.1).
-nh
_______________________________________________
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