• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTableView column sizes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSTableView column sizes (From: Daryle Walker <email@hidden>)

  • Prev by Date: NSTableView column sizes
  • Next by Date: Re: NSTableView column sizes
  • Previous by thread: NSTableView column sizes
  • Next by thread: Re: NSTableView column sizes
  • Index(es):
    • Date
    • Thread