Re: Subclassing NSTextField or...?
Re: Subclassing NSTextField or...?
- Subject: Re: Subclassing NSTextField or...?
- From: j o a r <email@hidden>
- Date: Thu, 10 Apr 2003 09:58:40 +0200
How about using a NSButtonCell with the imagePosition property set to
NSImageOverlaps? It might not work if you want to edit the label, but
could be worth a try.
j o a r
On Thursday, Apr 10, 2003, at 09:43 Europe/Stockholm, Rob In der Maur
wrote:
I want to have a column in my table which displays images and text but
the text should be displayed on top of the image. How to do this? I
have looked at the ImageAndTextCell class in the Apple examples, but
these use NSDivideRect to divide the cell in an image (left) and text
area (right).
Should I just tweak this example (and if so, can anyone tell me what
to tweak?) or should I do it otherwise (again example code
appreciated...)
_______________________________________________
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.