Sizing an image for a tableview cell
Sizing an image for a tableview cell
- Subject: Sizing an image for a tableview cell
- From: Tito Ciuro <email@hidden>
- Date: Sun, 25 Jul 2004 11:31:33 -0400
Hello,
I need to set the color of a cell which covers the entire cell bounds.
Each row has a different color, so in tableView:
objectValueForTableColumn: row:, I thought of getting the bounds of a
cell at a given index, create an NSImage with the desired color, and
return the image. The problem is that I cannot seem to obtain the size
of the cell, therefore I cannot create the image.
Any ideas?
Thanks!
-- Tito
[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.