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: Dave <email@hidden>
- Date: Sun, 24 Apr 2016 17:04:40 +0100
Hi,
I’m not sure what you mean? Is this a method or property on NSScrollView or NSTextView?
I can’t see it in the XIB file?
Cheers
Davw
> On 24 Apr 2016, at 16:58, Andreas Mayer <email@hidden> wrote:
>
>
>> 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