Skip navigation.
 
mlRe: NSOutlineView / NSSplitView redraw delay
FROM : Milen Dzhumerov
DATE : Sun Mar 30 15:07:26 2008

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?

Related mailsAuthorDate
mlNSOutlineView / NSSplitView redraw delay Milen Dzhumerov Mar 30, 00:57
mlRe: NSOutlineView / NSSplitView redraw delay Adam Gerson Mar 30, 09:45
mlRe: NSOutlineView / NSSplitView redraw delay Milen Dzhumerov Mar 30, 15:07