Hi,

> On 24 Apr 2016, at 17:29, Bill Cheeseman <[email protected]> wrote:
> 
> 
>> On Apr 24, 2016, at 12:04 PM, Dave <[email protected] 
>> <mailto:[email protected]>> wrote:
>> 
>> 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?
> 
> 
> In an NSTextField, IB shows you the "Layout" pop-up menu, which includes a 
> "truncate" item, and the "Uses Single Line Mode" checkbox just below. From 
> the docs, I think the single line mode might ignore the Layout settings. The 
> same IB controls are of course available in the text field in the cell view 
> in a view-based table view. The methods underlying these settings are in 
> NSCell.

I’ve got the Text View Selected in XCode/IB and I can’t find any option for 
“Layout” in any of the property tabs? Auto-layout is off at the moment for this 
window, it wouldn’t have anything to do with that would it?
> 
> You can control trucation behavior in an NSTextView by using NSTextStorage, 
> which is a subclass of NSMutableAttributedString. The truncation methods are 
> in NSParagraphStyle).

Thanks a lot,
All the Best
Dave

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to