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: Steve Gehrman <email@hidden>
- Date: Mon, 19 May 2003 02:45:29 -0700
I did some more research on this, and discovered that If I call
setStringValue on an NSTextField in my window, it mangles the clip rect
or something, and causes the problem. If I comment out this line, the
problem goes away.
I'm calling setStringValue in response to a keydown event. Not sure if
that matters.
Anyone know why this would happening?
-steve
>
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?
_______________________________________________
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.