Re: NSOutlineView / NSSplitView redraw delay
Re: NSOutlineView / NSSplitView redraw delay
- Subject: Re: NSOutlineView / NSSplitView redraw delay
- From: Milen Dzhumerov <email@hidden>
- Date: Sun, 30 Mar 2008 14:07:26 +0100
Hi all,
I've found the problem and a solution. It didn't have anything to do
with the NSSplitView but with the the column resizing of the
NSOutlineView instance. What happens is that maybe for optimization
reasons, during a live resize, the outline view only resizes the
columns when it finishes with the resize (i.e., when I release the
mouse button or during a live resize pause). But if you take a look at
Mail.app's sidebar, it resizes immediately. The way I achieved the
same effect is by overriding -(BOOL)inLiveResize to always return NO
- it works perfectly.
Milen
On 29 Mar 2008, at 23:57, Milen Dzhumerov wrote:
[snip] Any suggestions what might be delaying the refresh of the
outline text?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden