Re: NSTextView Question

2015-09-08 Thread Dave
Brilliant! Just what I wanted - did the trick wonderfully, thanks again, I would never have thought to look in the Size Panel. BTW, the code is needed, e.g. self.pDetailTextView.textContainer.containerSize = NSMakeSize(FLT_MAX, FLT_MAX); self.pDetailTextView.textContainer.widthTracksTextView =

Re: NSTextView Question

2015-09-08 Thread Ken Thomases
On Sep 8, 2015, at 9:22 AM, Dave wrote: > 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 TextVie

Re: NSTextView Question

2015-09-08 Thread Dave
Hi, Having thought about it a bit more, I think I understand, the problem was that the data I wish to display has two types of data embedded in it. The first type is more of a NSTextView in that it should wrap as necessary as the Text Box Frame changes size and another type that is a list, e.g.

NSTextView Question

2015-09-08 Thread Dave
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 trun