On Aug 17, 2009, at 6:41 PM, Maxwell, Adam R wrote:

> Okay, I've got a fix for this:
>
>    [[view documentView] layout];
>
> before drawing.  Curiously, setNeedsLayout:YES does not work, so  
> there's
> something weird going on in WebKit.

I think the "needs" methods only have an effect for drawing in the  
window's context (e.g. compare the documentation on - 
displayRectIgnoringOpacity:inContext:). That would explain why there's  
no problem when you display the view on screen.

Christiaan


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bibdesk-develop mailing list
Bibdesk-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop

Reply via email to