Re: How to change scroll view size so it can scroll
Re: How to change scroll view size so it can scroll
- Subject: Re: How to change scroll view size so it can scroll
- From: Gregory Weston <email@hidden>
- Date: Fri, 27 Apr 2007 06:58:25 -0400
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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