Re: discontiguous bounds ?
Re: discontiguous bounds ?
- Subject: Re: discontiguous bounds ?
- From: Jens Alfke <email@hidden>
- Date: Mon, 09 May 2016 08:32:15 -0700
> On May 8, 2016, at 10:32 PM, Miller Dale <email@hidden> wrote:
>
> I wish to provide a facility with a NSTableView wherein the leftmost (specifiable) columns remain statically on the left of the display (subject to vertical scrolling) while the remaining columns scroll normally constrained to the right of the static columns.
You’re going to need additional views to do this. For example, NSTableView already displays the table headers using a separate view that floats on top of the enclosing NSScrollView and doesn’t scroll along with it.
I agree with Quincey that something like Apple’s SynchroScroll example is the way to go. Even if the example itself is out of date, the functionality works; for example, Xcode’s diff view and the FileMerge app both have text views that scroll in sync with one scroller.
—Jens
_______________________________________________
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