Re: Resizing last column of NSTableView when it touches window border
Re: Resizing last column of NSTableView when it touches window border
- Subject: Re: Resizing last column of NSTableView when it touches window border
- From: Avery Pierce <email@hidden>
- Date: Wed, 07 May 2014 16:42:49 -0500
>
> Wouldn’t a user scroll the rest of the column into the window first,
> stopping only after the vertical line in the header row is clearly inside
> the window?
If I'm understanding Jakob's issue, the table view doesn't scroll more than
it needs to, so the rightmost column divider is exactly at the edge of the
window. It can never be scrolled inside.
Jakob, are you sure that the table view isn't 1 or 2 points too large? Have
you considered throwing in an extra, blank column at the end with a small
fixed width (5px maybe)?
On Wed, May 7, 2014 at 4:06 PM, Quincey Morris <
email@hidden> wrote:
> On May 7, 2014, at 13:55 , Jakob Egger <email@hidden> wrote:
>
> > The problem only occurs when you have many columns and the table view
> > scrolls horizontally. Then you can't make the last column wider.
> > Dragging the left side only makes the second-to-last column narrower,
> > and dragging the right side resizes the window.
>
> So where is the right edge of the rightmost visible column? If you haven’t
> done anything special, then it could be at the window’s edge, or it could
> be further to the right, scrolled off the window, depending on the column
> width. I don’t see how the user would know the difference. Wouldn’t a user
> scroll the rest of the column into the window first, stopping only after
> the vertical line in the header row is clearly inside the window? If that’s
> the case, I don’t see that you really have a problem.
>
> If you’re somehow adjusting the table (either the column widths or the
> amount of scroll) so that the rightmost visible column always ends at the
> window edge, then I’d suggest changing your algorithm so that it ends maybe
> 4-10 points inside the edge. That would solve the problem too, wouldn’t it?
>
> _______________________________________________
>
> 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
>
_______________________________________________
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