Re: Cell Size Problem
Re: Cell Size Problem
- Subject: Re: Cell Size Problem
- From: Karl Goiser <email@hidden>
- Date: Sat, 20 Dec 2003 07:39:20 +1100
Thank you for that!
On 20/12/2003, at 7:27 AM, Douglas Davidson wrote:
On Dec 19, 2003, at 10:13 AM, Karl Goiser wrote:
This seems to work fine - except - that if I take something that
would wrap to 2 lines in the above way, there is about a 5 pixel
width where the above code says that there should be 2 lines, but
when drawing it, it only draws on 1 line leaving a whole line empty:
Probably because NSCell drawing uses a lineFragmentPadding of 2 (or 4
for centered cells) where string drawing uses 0.
Douglas Davidson
_______________________________________________
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.