Re: ImageAndTextCell rendering weirdness
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