Re: NSString drawInRect clipping control
Re: NSString drawInRect clipping control
- Subject: Re: NSString drawInRect clipping control
- From: Douglas Davidson <email@hidden>
- Date: Wed, 23 Jan 2002 10:01:33 -0800
On Wednesday, January 23, 2002, at 01:34 AM, Mark's Studio wrote:
When i draw a string in a rect and the string
is longer that the width of the rect, it is clipped
after the first space, if the rest of the string don't fit
Try setting an NSParagraphStyle, with the line break mode
NSLineBreakByClipping, for the NSParagraphStyleAttributeName.
Douglas Davidson