Suggest you look at the "Using Text Tables" section of the "Text Layout 
Programming Guide for Cocoa". It shows how to use the NSTextTable, 
NSTextTableBlock etc. Looks promising for what you describe. Disclaimer: I 
haven't used it myself.

HTH

Gideon

On 14/06/2010, at 11:46 PM, Alexander Cohen wrote:

> Hello,
> 
> I would like to use an NSAttributed string in order to render a type of 
> key/value 2 column display in a NSTextField. As of now, i'm using tabs 
> between key's and value's on each line but some values need to wrap to the 
> next line and i would like them to wrap to the start of value column and not 
> wrap all the way to the beginning og the new line. Is this possible using 
> attributes and an NSAttaributedString. Heres an example:
> 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to