Scroll arrows are not working?
Scroll arrows are not working?
- Subject: Scroll arrows are not working?
- From: Mark Dawson <email@hidden>
- Date: Tue, 05 Sep 2006 16:30:27 -0700
In my app, I have two NSTextViews, one in the main (document) window and one in a drawer. The main window's scroll errors don't work--they highlight, but have no effect (the thumb DOES work). The drawer window's arrows DO work. As far as I can tell, they are setup exactly the same way in IB, and they are modified (to add horizontal scroll bars) in the code the same way:
[[oMainText enclosingScrollView] setHasHorizontalScroller:YES];
[oMainText setHorizontallyResizable:YES];
[oMainText setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];
[[oMainText textContainer] setWidthTracksTextView:NO];
[[oDrawerText enclosingScrollView] setHasHorizontalScroller:YES];
[oDrawerText setHorizontallyResizable:YES];
[oDrawerText setAutoresizingMask:(NSViewWidthSizable | NSViewHeightSizable)];
[[oDrawerText textContainer] setWidthTracksTextView:NO];
What would a reason be for the arrows not to work?
Thanks,
Mark
_______________________________________________
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