Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView / NSSplitView redraw delay



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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >NSOutlineView / NSSplitView redraw delay (From: Milen Dzhumerov <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.