Am 06.02.2010 um 17:20 schrieb Ken Thomases: >> Settings setWidthTracksTextView to NO works, but after doing that, the >> NSScrollView (parent of the TextView in question) clips the content to its >> own width :/ >> >> Perhaps there is a good reason that even TextEdit does not support this? > > What's the value of the text view's > -isHorizontallyResizable/-setHorizontallyResizable: property? In IB, that's > on the Size inspector, "Resizable: Horizontally".
Many thanks for your input, Ken. This is checked in IB. Unchecking it results in the Horizontal Scroller not showing up at all. > I'm no expert in this area, and haven't tested, but it makes sense to me that > if that's NO, then the text view won't claim to be as wide as the widest > picture. Also, set its maximum width to something large, possibly the > unlimited value that is the default for the maximum height. I've tried that - and *much* more for several hours now and didn't get it to work... For what I want to do, it's not worth the effort. Conclusion: I will use an NSImageView for displaying larger pictures instead. ___________________________________________________ Dipl.-Phys. Knut Lorenzen <http://Knut.MacDisk.de> _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com