• 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: Make characters same width in textview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Make characters same width in textview


  • Subject: Re: Make characters same width in textview
  • From: Matt Judy <email@hidden>
  • Date: Sat, 16 Mar 2002 16:24:40 -0800

Depending on your presentation needs, if you need something a bit more visually appealing (yet less readable at very small sizes), you can also use Andale Mono.

--Matt Judy

Millennium wrote:
Exactly. Monospaced fonts are considered the way to do this. Courier and
Monaco come with all Macs, and should fit your needs well (Courier has
serifs, Monaco does not).

It's just a matter of setting the TextView's font to Courier or Monaco;
whichever you feel is appropriate. For readability concerns, you should
probably display Monaco but print Courier.


Why don't you just use a fixed width font as the font for the text view?

Eric

On Saturday, March 16, 2002, at 01:51 PM, email@hidden wrote:


I am setting the string of a NSTextView and I would like the characters to all be the same width. I am creating a table from a database query and of course things lining up correctly is of upmost importance. Eventually, I will be using table view but I wanted to get this working first. Nothing looked like what I was looking for in the docs but then again I don't know the term for "having characters of the same width". Perhaps someone could point me in the right direction or provide sample code for this?

_______________________________________________
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.
_______________________________________________
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.

References: 
 >Re: Make characters same width in textview (From: Eric Peyton <email@hidden>)
 >Re: Make characters same width in textview (From: Millennium <email@hidden>)

  • Prev by Date: Re: Theory, Practice, Down-Time...
  • Next by Date: Re: NSDictionary Palette available -- addendum
  • Previous by thread: Re: Make characters same width in textview
  • Next by thread: How to force validation of a NSTextField?
  • Index(es):
    • Date
    • Thread