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 (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to