• 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
NSAttributedString with columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSAttributedString with columns


  • Subject: NSAttributedString with columns
  • From: Alexander Cohen <email@hidden>
  • Date: Mon, 14 Jun 2010 09:46:33 -0400

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:

----- The results i get:
key		value
key		<value value value
value>
key		value

------ What i want:
key		value
key		<value value value
		value>
key		value



thx

AC_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: NSAttributedString with columns
      • From: Kyle Sluder <email@hidden>
    • Re: NSAttributedString with columns
      • From: "Paul Sanders" <email@hidden>
    • Re: NSAttributedString with columns
      • From: Gideon King <email@hidden>
    • Re: NSAttributedString with columns
      • From: Graham Cox <email@hidden>
  • Prev by Date: Re: NSButton with image
  • Next by Date: Re: NSAttributedString with columns
  • Previous by thread: Re: NSButton with image
  • Next by thread: Re: NSAttributedString with columns
  • Index(es):
    • Date
    • Thread