Re: NSTableView column sizes
Re: NSTableView column sizes
- Subject: Re: NSTableView column sizes
- From: Steve Mills <email@hidden>
- Date: Wed, 15 Mar 2017 08:45:21 -0500
On Mar 15, 2017, at 03:59:43, Daryle Walker <email@hidden> wrote:
>
> 1. Is there a way to make the last (right in the U.S. localization) column to always be at the end of the table-view, instead of a gap after a resize?
>
> 2. My table has two columns. Is there a way to keep their sizes in proportion after a window resize? (If the divider is moved, resizes will follow the new proportions.)
Setting the Column Sizing to Uniform doesn't help with both of those? If not, use a delegate and see what you can do in tableViewColumnDidResize:. You'll probably need to prevent infinite recursion with a simple flag in case that notification is sent when columns are resized programmatically as well as by the user.
--
Steve Mills
Drummer, Mac geek
_______________________________________________
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