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: Graham Cox <email@hidden>
- Date: Wed, 27 Apr 2016 09:44:53 +1000
> On 27 Apr 2016, at 9:29 AM, Graham Cox <email@hidden> wrote:
>
> [[theTextView textContainer] setContainerSize:NSMakeSize(contentSize.width, FLT_MAX)];
Oops, that should be:
[[theTextView textContainer] setContainerSize:NSMakeSize(FLT_MAX, contentSize.height)];
G.
_______________________________________________
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