Re: NSString drawInRect clipping control sorted
Re: NSString drawInRect clipping control sorted
- Subject: Re: NSString drawInRect clipping control sorted
- From: "Mark's Studio" <email@hidden>
- Date: Wed, 23 Jan 2002 19:54:36 +0100
Thanks for your reply
NSLineBreakByCharWrapping
Was the the one that worked for me.
On onsdag, januar 23, 2002, at 07:01 , Douglas Davidson wrote:
>
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
>
_______________________________________________
>
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.
>
>
Peter Mark
Mark's Recording Studio A/S
Faelledvej 19 b DK2200 N
Copenhagen Denmark
Tel: +45 35366078 Fax: +45 35366038
www.marks-studio.dk
email@hidden