• 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
Dynamic NSScrollView question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamic NSScrollView question...


  • Subject: Dynamic NSScrollView question...
  • From: Nicholas Francis <email@hidden>
  • Date: Sun, 27 Oct 2002 01:40:27 -0700

Hi guys.

I'm have an NSScrollView that contains a flipped NSViews, that contain two NSView subclasses...
Inside the bottom NSViews, I create controls at runtime (stacking them vertically)...

My question is: How do I get the Scrollbars to reflect the size of the inner NSViews...

My View hierarchy basically looks like this:
Scroll View -> FlippedView -> PropertyViews -> Lots of controls...

The FlippedView is just an NSView subclass that return true to isFlipped.
The PropertyView is a relatively complex class, that fills itself with controls, from top to bottom. Its contents are flipped as well. There are 2 propertyviews aligned side by side.

When I make the controls in the Propertyview, I know the height of all the controls. Which functions should I call to get the size change to 'bubble' up to the scroll view?

TIA,
Nicholas
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: Max arguments for NSTask?
  • Next by Date: Lost my aqua tableColumn headers...
  • Previous by thread: Re: Splash Screen
  • Next by thread: Lost my aqua tableColumn headers...
  • Index(es):
    • Date
    • Thread