RE: Adding multiple NSTextViews inside one NSScrollView
RE: Adding multiple NSTextViews inside one NSScrollView
- Subject: RE: Adding multiple NSTextViews inside one NSScrollView
- From: "Ashish Tiwari" <email@hidden>
- Date: Mon, 16 Mar 2009 18:47:15 +0530
> Don't do that? Keep them all in their own scroll views.
I need to do that I cant let each NSTextView has its own ScrollView.
The behavior I want is that when user scrolls the shared ScrollView all 3
textviews should scroll simultaneously.
Also I will look into layout manager thing suggested by Kyle.
-----Original Message-----
From: Kyle Sluder [mailto:email@hidden]
Sent: Monday, March 16, 2009 6:34 PM
To: Ashish Tiwari
Cc: email@hidden
Subject: Re: Adding multiple NSTextViews inside one NSScrollView
On Mon, Mar 16, 2009 at 5:14 AM, Ashish Tiwari
<email@hidden> wrote:
> I need to have 3 NSTextViews share same NSScrollView. The ScrollView
should
> be able to show/scroll all contents of these 3 TextViews.
Don't do that? Keep them all in their own scroll views. If you
really want to have three separate text views inside one shared scroll
view, you should instead look at implementing a custom layout manager.
--Kyle Sluder
_______________________________________________
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