Re: NSOutlineView not respecting it's visible rect
Re: NSOutlineView not respecting it's visible rect
- Subject: Re: NSOutlineView not respecting it's visible rect
- From: Shaun Wexler <email@hidden>
- Date: Mon, 19 May 2003 12:42:14 -0700
On Monday, May 19, 2003, at 12:29 AM, Steve Gehrman wrote:
I have an NSOutlineView inside an NSSplitView, and not always, but
certain repeatable times while scrolling, it will draw outside it's
visible frame.
I added an [[NSBezierPath clipRect:[self visibleRect]] inside the
NSOutlineViews drawRect method, and this helps, but the outlineViews
tableHeader still draws outside the visible frame.
Has anyone else seen this, and is there a work around? If not, any
good methods for debugging this?
-steve
I have problems with NSSplitView, similar to what you're describing,
but I thought it was due to the fact that I use multi-threaded drawing,
which partially bypasses Cocoa and the view hierarchy, using the
CoreGraphics API and a separate CGContext per thread, per window.
NSSplitView and NSDrawer seem to still have bugs. I've filed a few on
drawers but they haven't been solved yet. I'd sure like to figure out
what's causing the problems with my split views, though. I think it
may have something to do with the order that the views receive a
frame-changed notice, vs when they declare themselves as needing
displayed, during the divider drag, which is the only time I have the
problems. It's probably in my code, but if others are experiencing it,
maybe there's a bug in the class somewhere?
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.