Image with dynamic background color and text in table
Image with dynamic background color and text in table
- Subject: Image with dynamic background color and text in table
- From: Rob In der Maur <email@hidden>
- Date: Wed, 2 Apr 2003 10:40:48 +0200
Hi all,
I want to have an image in one of my columns in my table of which I can
set the foreground text and background color programmatically. I guess
setting the background color is just a matter of how transparent I make
the image, setting the foreground text is a bit more trickier.
It is almost along the lines of the 'ImageAndTextCell' class which is
part of the Cocoa samples Apple is providing, but in this class the
actuall frame to display image and text is divided in a seperate image
and text area using NSDivideRect. I want the image and text basically
on top of each other. And I have no clue how to do that. Any hints,
code snippets, examples, etc. are much appreciated...
cheers,
Rob
_______________________________________________
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.