Re: NSTableView and variable row heights problem
Re: NSTableView and variable row heights problem
- Subject: Re: NSTableView and variable row heights problem
- From: Corbin Dunn <email@hidden>
- Date: Mon, 17 Oct 2005 15:16:21 -0700
Am Oct 17, 2005 um 1:25 PM schrieb Stefan Fisk:
That is exactly what I'm doing. I've also filed a bug rapport (ID:
4297930) for it, with code and all. If you've got a working solution
I would be most delighted.
Yeah, your problem is different than what I was thinking of. Really,
the problem I'm thinking of manifests itself when the rows are each
different heights. In your example, they are all the same heights. i
did see the bug a while ago -- one quick tip: if you make a test case
for the bug, feel free to attach the source code and project -- that
will save me a little bit of time in recreating it so I can fix the
issue.
Your particular visual glitches that are mentioned in the bug have to
do with live-resize. To force tableview to not do it's live resize
caching, create a simple subclass and call super's drawrect:
@implementation MyTableView
- (void)drawRect:(NSRect)r {
[super drawRect:r];
}
@end
That fixes the drawing issues in the test case you attached in the
bug. Thanks!
-corbin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden