• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Subclassing NSTextField or...?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclassing NSTextField or...?


  • Subject: Re: Subclassing NSTextField or...?
  • From: Rob In der Maur <email@hidden>
  • Date: Thu, 10 Apr 2003 10:40:03 +0200

I reckon I still can set the image and text programmatically? If that is the case I will look into it.

Thanks
Rob

On Thursday, Apr 10, 2003, at 09:58 Europe/Amsterdam, j o a r wrote:

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...)



- Rob In der Maur
_______________________________________________
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.

  • Follow-Ups:
    • Re: Subclassing NSTextField or...?
      • From: j o a r <email@hidden>
References: 
 >Re: Subclassing NSTextField or...? (From: j o a r <email@hidden>)

  • Prev by Date: Re: Open URL when click Button
  • Next by Date: Re: Open URL when click Button
  • Previous by thread: Re: Subclassing NSTextField or...?
  • Next by thread: Re: Subclassing NSTextField or...?
  • Index(es):
    • Date
    • Thread