Skip navigation.
 
mlRe: How to change scroll view size so it can scroll
FROM : Gregory Weston
DATE : Fri Apr 27 12:58:25 2007

Guillem Palou wrote:

> I've been searching about scrollviews in the developer's page but i 
> didn't
> find what i was looking for. I'm creating a custom subclass of a 
> scrollview.
> This View will be used to show information like if it was a list. The
> problem is that I cannot make the scrollbars appear.


Subclassing NSScrollView is an extremely rare need. Scroll views are 
primarily there to contain custom content, rather than to be 
customized. The way you get the scrollbars to appear is to make the 
frame of your custom view inside the scrollview larger than the 
scrollview.

G

Related mailsAuthorDate
mlHow to change scroll view size so it can scroll Guillem Palou Apr 27, 01:05
mlRe: How to change scroll view size so it can scroll Gregory Weston Apr 27, 12:58