• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
scrolling NSTextView over NSImageView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: scrolling NSTextView over NSImageView
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: not key value coding-compliant
  • Next by Date: Re: NSStatusItem in Carbon
  • Previous by thread: Re: not key value coding-compliant
  • Next by thread: Re: scrolling NSTextView over NSImageView
  • Index(es):
    • Date
    • Thread