Re: Cell Size Problem
Re: Cell Size Problem
- Subject: Re: Cell Size Problem
- From: Douglas Davidson <email@hidden>
- Date: Fri, 19 Dec 2003 12:27:04 -0800
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.