Dynamic NSScrollView question...
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.