Re: How to Truncate lines in NSScrollView/NSClipView/NSTextView Combo
Re: How to Truncate lines in NSScrollView/NSClipView/NSTextView Combo
- Subject: Re: How to Truncate lines in NSScrollView/NSClipView/NSTextView Combo
- From: Andreas Mayer <email@hidden>
- Date: Sun, 24 Apr 2016 17:58:38 +0200
> Am 24.04.2016 um 17:15 schrieb Dave <email@hidden>:
>
> I have an NSTextView inside an NSScrollView. At present the Text Lines is wrapped if they are longer than the Scroll View, I'd them to truncate. I had thought I’d seen some properties somewhere for doing this but I can’t find them in IB.
NSParagraphStyle lineBreakMode seems to be what you are looking for.
_______________________________________________
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