NSCell Size in NSOutlineView
NSCell Size in NSOutlineView
- Subject: NSCell Size in NSOutlineView
- From: Craig Bakalian <email@hidden>
- Date: Sun, 1 Jun 2003 06:46:29 -0400
Hi,
It there anyway to change the size of a NSCell in an NSOutlineView?
Specifically, the height. I have text in cells that are [cell
setWraps: YES] and it wraps, yet the wrapped portion is not visible.
-(void)outlineView: (NSOutlineView *)olv willDisplayCell: (NSCell
*)cell forTableColumn: (NSTableColumn *)tableColumn item: (id)item
{
if([[tableColumn identifier] isEqualToString: @"text"])
{
[cell setWraps: YES];
[cell setStringValue: [cell stringValue]];
}
if([[tableColumn identifier] isEqualToString: @"name"])
{
[cell setEditable: NO];
}
}
Thanks
Craig Bakalian
www.eThinkingCap.com
_______________________________________________
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.