mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-02 23:30:42 +00:00
Add prototype cell view support, remove code that forces prototypeCellView to be NSView
This commit is contained in:
parent
b06b23c97c
commit
e4c7bb540c
4 changed files with 26 additions and 11 deletions
|
@ -3539,18 +3539,19 @@ static NSDictionary *titleTextAttributes[3] = {nil, nil, nil};
|
|||
view = [delegate tableView: tableView
|
||||
viewForTableColumn: tb
|
||||
row: rowIndex];
|
||||
NSDebugLog(@"View = %@", view);
|
||||
drawingRect = [tableView frameOfCellAtColumn: i
|
||||
row: rowIndex];
|
||||
|
||||
[view setFrame: drawingRect];
|
||||
[tableView addSubview: view];
|
||||
}
|
||||
/*
|
||||
else
|
||||
{
|
||||
view = AUTORELEASE([[NSTableCellView alloc] init]);
|
||||
}
|
||||
|
||||
NSDebugLog(@"View = %@", view);
|
||||
drawingRect = [tableView frameOfCellAtColumn: i
|
||||
row: rowIndex];
|
||||
|
||||
[view setFrame: drawingRect];
|
||||
[tableView addSubview: view];
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue