• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSString drawInRect clipping control sorted
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Re: NSString drawInRect clipping control (From: Douglas Davidson <email@hidden>)

  • Prev by Date: NSTableView edit text-field help please?
  • Next by Date: NSImage initWithContentsOfURL
  • Previous by thread: Re: NSString drawInRect clipping control
  • Next by thread: Window Title Image
  • Index(es):
    • Date
    • Thread