override -drawRect: in NSTableView; just call [super drawRect:] and don't do anything else. Does that fix it?
corbin On Feb 10, 2011, at 2:51 PM, Eric Gorr wrote: > I've got a sample project demonstrating the problem: > > http://ericgorr.net/cocoadev/TableViewGridDrawing.zip > > I've included a screen recording showing the problem as well. > > Basically, I need to drawn some vertical column line in a column. Since, in > the real case, these lines would be drawn for only some of the columns, I > need to completely customize the -drawGridInClipRect: method. > > So,, the problem is that the rightmost line is not always drawn while I am > resizing a column and it goes off the right edge and comes back. > > Whether the last line is drawn or not seems to be dependent upon how fast I > am resizing a column. > > If I let the mouse button go and start again, the last line is drawn > immediately. > > As best as I can determine there is some kind of caching of the grid lines > going on because I can see my drawing code being called, but not see the > complete result appear in the table. > > All of the other lines draw as expected. > > I thought it might be a clipping issue, but I do not believe that is the case. > > If anyone has any thoughts, I would be interested. > > Thank you. > > > > > > > _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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/archive%40mail-archive.com This email sent to arch...@mail-archive.com