NSTextView Question
NSTextView Question
- Subject: NSTextView Question
- From: Dave <email@hidden>
- Date: Tue, 08 Sep 2015 15:22:54 +0100
Hi All,
I’ve got an NSTextView that’s working in that it Scrolls ok vertically, but If I have a long line, it wraps instead of clipping the line and allowing Horizontal Scrolling. I’ve looked at the properties of the ScrollView and the underlying TextView but I can see no option to have it truncate lines, whereas AFAIR, this option is present in a NSTextField. I’ve got Show H Scroller, Show V Scroller and Automatically Hide Scroller all set to ON.
This is a non-editable field, grows as much as it can using auto layout, but after that if the lines are too long, I want to be able to scroll horizontally.
Is this possible using an NSTextView? If not, what is there another control I can use to get this effect?
Thanks a lot
All the Best
Dave
_______________________________________________
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