Re: NSImageCell cellSize
Re: NSImageCell cellSize
- Subject: Re: NSImageCell cellSize
- From: Calum Robinson <email@hidden>
- Date: Tue, 18 Mar 2003 14:23:56 +0000
Woops - my code got mixed up when I was pasting it into Mail. here is
what I meant:
NSCell *newCell = [[NSImageCell alloc] init];
[newCell setObjectValue:[NSImage imageNamed:@"NSApplicationIcon"]];
[newCell calcDrawInfo:rect];
NSLog(@"cell size = %@", NSStringFromSize([newCell cellSize]));
and not:
On Tuesday, March 18, 2003, at 02:16 pm, Calum Robinson wrote:
NSCell *newCell = [[NSImageCell alloc] init];
[newCell calcDrawInfo:rect];
[newCell setObjectValue:[NSImage imageNamed:@"NSApplicationIcon"]];
NSLog(@"cell size = %@", NSStringFromSize([newCell cellSize]));
Calum
_______________________________________________
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.