• 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: ImageAndTextCell rendering weirdness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ImageAndTextCell rendering weirdness


  • Subject: Re: ImageAndTextCell rendering weirdness
  • From: Andrew Shamel <email@hidden>
  • Date: Sat, 17 Jan 2009 16:38:05 -0800

Thanks, Sandy. I found a later version (in the Source View example code), and alas, even with the size set, the same thing is happening.

I confess that I don't know as much about view/cell drawing as I might. Has anyone seen this kind of rendering before, if not in this situation?

Thanks so much,

Andy



On 17 Jan 2009, at 11:23 AM, Sandy McGuffog wrote:

Well, I haven't seen this specific behavior. But one thought is to check that your images have their size set - as initialized from a [NSImage imageNamed:], size is not set(!). This can cause all sort of havoc. Second comment: there are actually several different versions of ImageandTextCell in different developer docs; you might want to try the more recent versions, if you're not already. Depending on which version you have, the setSize may be being done for you. Or not.

Sandy

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >ImageAndTextCell rendering weirdness (From: Andrew Shamel <email@hidden>)
 >Re: ImageAndTextCell rendering weirdness (From: Sandy McGuffog <email@hidden>)

  • Prev by Date: Re: string bounding rect methods
  • Next by Date: Re: ObjC in time-critical parts of the code
  • Previous by thread: Re: ImageAndTextCell rendering weirdness
  • Next by thread: Re: ImageAndTextCell rendering weirdness
  • Index(es):
    • Date
    • Thread