Re: NSOutlineView Bug - help
Re: NSOutlineView Bug - help
- Subject: Re: NSOutlineView Bug - help
- From: "John C. Randolph" <email@hidden>
- Date: Thu, 18 Oct 2001 05:45:25 -0700
On Thursday, October 18, 2001, at 05:32 AM, Steve Gehrman wrote:
NSOutlineView has a bug when it draws it's NSTableHeaderView while
scrolling.
This problem only happens when you have an NSOutlineView contained in
an NSScrollView and have those views contained in another
NSScrollView. (I've written an NSBrowser using NSOutlineViews) The
NSOutlineView is trying to draw it's NSTableHeader views relative to
the outermost NSScrollView and not the NSScrollView that contains it's
NSOutineView.
The NSTableHeaderView draws correctly when you refresh the window, the
problem is only when scrolling. It's obvious by the position it draws
it's headerviews that it's trying to line up with the outermost
NSScrollView.
Has anyone else seen this? And is there anyway of getting around this.
I've never seen it, but then I've never tried nesting scrollviews. It
wouldn't surprise me if nobody at Apple's ever tried it, either.
Are you *sure* this is what you want in your UI? It sounds awfully
messy to me.
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him with
a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.