• 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: How to change scroll view size so it can scroll
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Predicate in IB
  • Next by Date: Lid opened notification?
  • Previous by thread: How to change scroll view size so it can scroll
  • Next by thread: drawing red text for some cells while editting in NSTableView
  • Index(es):
    • Date
    • Thread