NSTableView : resizing behaviour -> Can anybody explain ?
NSTableView : resizing behaviour -> Can anybody explain ?
- Subject: NSTableView : resizing behaviour -> Can anybody explain ?
- From: "Cristian Savu" <email@hidden>
- Date: Fri, 5 Jul 2002 11:45:21 +0300
I have a tableView with 1 column containing only numbers. (for the sake of
simplicity). The column content and its header are centred.
Now, I'm trying to resize the table and to obtain a smooth resizing (the
col header and content should be centred while I'm resizing).
And here comes the weird part:
I've tried all possible combination of setting in IB. No result !
(if anyone knows any combination, I'll be glad to see it)
The content moving is not synchronized with the window resizing.
If I subclass NSTableView and override the drawRow:clipRect method like
this :
- (void) drawRow:(int) rowIndex clipRect:(NSRect) clipRect
{
[super drawRow:rowIndex clipRect:clipRect];
}
I've got the most wanted result !!!! WHY ??
What the ... , has the header to do with the drawRow:clipRect ?
thanks in advance,
Cristian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.