• 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
NSTextView text too narrow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTextView text too narrow


  • Subject: NSTextView text too narrow
  • From: Ben Kazez <email@hidden>
  • Date: Tue, 21 Mar 2006 10:15:19 -0500

Hello,

I'm new to the Cocoa text system, and I haven't been able to find the answer to this question in documentation, mailing list archives, or elsewhere on the web.

I've created an NSTextView subclass to work like the comments field in iPhoto or the notes field in iCal. It's working well, except that there's a small margin on the right side that shouldn't be there. I tried [[self textContainer] setContainerSize:someWiderSize] but this didn't seem to have an effect. How do I make the text go closer to the right edge?

Here's a screenshot explaining what I'm talking about:

http://www.benkazez.com/textview-issue.png

Ben


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: NSTextView text too narrow
      • From: Ondra Cada <email@hidden>
  • Prev by Date: Re: Installer
  • Next by Date: Re: NSTask and authentication...I have to clarify my original question
  • Previous by thread: What's wrong with NSViewAnimation and view with zero height or width ?
  • Next by thread: Re: NSTextView text too narrow
  • Index(es):
    • Date
    • Thread