• 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: NSTextView and Scrollbars
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTextView and Scrollbars


  • Subject: Re: NSTextView and Scrollbars
  • From: Todd Ransom <email@hidden>
  • Date: Sat, 17 Jun 2006 07:57:40 -0600

check the Line Amount and Page Context properties on the scrollview in IB. I recently had the exact same problem and it was caused by IB resetting these properties to 0 when I resized a view. The default is 10.0.

Todd Ransom
Return Self Software
http://returnself.com



On Jun 16, 2006, at 2:06 PM, Mark Munz wrote:

I tried looking through the archives, but couldn't find anything on the subject.

I have a window that contains an NSTextView. The scrollbar arrow
buttons do not appear to work, even though the thumb does.

I know that NSScrollView needs to have setPageScroll: (or its variant)
called to setup the scroll correctly, but I was under the impression
NSTextView did this automatically (at least there is no API available
that would indicate I should have to do this).

Is this a bug in NSTextView? Or is there perhaps some other cause to this?

Any help with this is greatly appreciated.

Mark Munz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >NSTextView and Scrollbars (From: "Mark Munz" <email@hidden>)

  • Prev by Date: Re: future proof icon sizes?
  • Next by Date: Re: Deploying Cocoa Applications
  • Previous by thread: NSTextView and Scrollbars
  • Next by thread: Deploying Cocoa Applications
  • Index(es):
    • Date
    • Thread