Re: NSScrollView & its width
Re: NSScrollView & its width
- Subject: Re: NSScrollView & its width
- From: Knut Lorenzen <email@hidden>
- Date: Sat, 6 Feb 2010 21:30:47 +0100
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 (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