• 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: auto resize columns
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: auto resize columns


  • Subject: Re: auto resize columns
  • From: Larry Fransson <email@hidden>
  • Date: Tue, 23 Nov 2004 23:42:46 -0800


On Nov 23, 2004, at 18:43, email@hidden wrote:

I have 1 NSTableView that has 2 columns. Both columns should be half the width of the NSTableView. How can i have them resize and keep their ratio when resizing the NSTableView?

Sez the NSTableView docs, the table view posts a NSTableViewColumnDidResizeNotification whenever a column is resized in a table view. The table view delegate method -tableViewColumnDidResize: method also gets called. That should get you started in the right direction.


Larry Fransson
Seattle, WA

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >auto resize columns (From: email@hidden)

  • Prev by Date: Re: Cocoa daemon app
  • Next by Date: C++Lib in objective-C
  • Previous by thread: auto resize columns
  • Next by thread: OutlineView/File Explorer example
  • Index(es):
    • Date
    • Thread