• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSScrollView & its width
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >NSScrollView & its width (From: Knut Lorenzen <email@hidden>)
 >Re: NSScrollView & its width (From: Mark Sanvitale <email@hidden>)
 >Re: NSScrollView & its width (From: Knut Lorenzen <email@hidden>)
 >Re: NSScrollView & its width (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: keyCode translation for various keyboards
  • Next by Date: Re: Cocoa text via Quartz CGLayer
  • Previous by thread: Re: NSScrollView & its width
  • Next by thread: Re: NSScrollView & its width
  • Index(es):
    • Date
    • Thread