NSTextView text too narrow
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