Re: NSTextView and Scrollbars
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