Multiple Views, one NSScrollView
Multiple Views, one NSScrollView
- Subject: Multiple Views, one NSScrollView
- From: Stephan Burlot <email@hidden>
- Date: Sat, 21 Jul 2007 01:40:05 +0200
Hi,
I need to display multiple custom views with variable height which
should share the same NSScrollView
Warning: ASCII art below!
-------------------
! ! !
! view 1 ! !
! ! !
-----------------! !
! view 2 ! !
-----------------! !
! ! !
! ! !
! view 3 ! !
! ! !
! ! !
-------------------
Do I need to calculate the size/pos of each frame or can I rely on
some mechanism that would flow all my views one below the other?
Can each view be a subview of the scroll view, or is it better or
easier to add all my views to a subview of the scroll view?
I've searched through a lot of sample code, but I havent found
something similar. Any pointer would be appreciated!
Thanks,
Stephan
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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