Hi,

I need to have 3 NSTextViews share same NSScrollView. The ScrollView should
be able to show/scroll all contents of these 3 TextViews.

------------------------------------------------------------

|                              |                              |
||

|                              |                              |
||

|              Text1     |              Text2     |              Text3
||

|                              |                              |
||

|                              |                              |
||

------------------------------------------------------------

Currently I have done followings:

1.       Added 3 NSTextViews (without vertical/horizontal scrollers) as
subviews of CustomView.

2.       Set the CustomView as DocumentView of NSScrollView.

 

I am facing following problems:

1.       Many a times the ScrollView wont show up.

2.       If ScrollView is visible then it wont scroll to show all the
contents of largest NSTextView. ScrollView will only scroll enough to show
contents of smallest TextView.

 

Please guide me how to fix it, any pointer/link/sample code will be
appreciated.

Thanks in advance.

Ashish Tiwari

 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to