Re: Strange problem drawing a custom grid in NSTableView

2011-02-11 Thread Eric Gorr
I filed a bug report on this: rdar://8988596 Hopefully this will be fixed soon or a workaround provided. In the meantime, I will just disable the Automatically Hide Scrollers feature of NSScrollView. On Feb 10, 2011, at 7:07 PM, Eric Gorr wrote: > Unfortunately, no. > > - (void)drawRect:(NS

Re: Strange problem drawing a custom grid in NSTableView

2011-02-10 Thread Eric Gorr
Unfortunately, no. - (void)drawRect:(NSRect)dirtyRect { [super drawRect:dirtyRect]; } And, I just checked to see what would happen if I used the default column line drawing code instead of my custom code and I see the same problem. It appears that there is a general problem with drawing

Re: Strange problem drawing a custom grid in NSTableView

2011-02-10 Thread Corbin Dunn
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

Strange problem drawing a custom grid in NSTableView

2011-02-10 Thread Eric Gorr
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