• 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: Correct behavior of NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Correct behavior of NSTableView?


  • Subject: Re: Correct behavior of NSTableView?
  • From: Brian Webster <email@hidden>
  • Date: Tue, 6 Nov 2001 15:50:11 -0600

On Tuesday, November 6, 2001, at 03:20 PM, cocoa-dev-
email@hidden wrote:

If I have an NSTableView where the cells are editable, I begin to edit a
cell, and while editing the cell I call "setRowHeight:", the rows of the
table do resize, but the field editor does not. Surely this is incorrect
behavior. If I call setRowHeight:, surely the NSTableView is responsible
for resizing the NSTextView (field editor) which it has control over.

My guess is that setRowHeight: isn't meant to be called in the middle of an editing session. Whether this is a bug or a feature is up for debate. In any case, you might want to try ending the editing session, then setting the row height and restart the editing. This might look a little funky, and it might not do as a permanent solution, but it would at least confirm my suspicion.

--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster


  • Follow-Ups:
    • Re: Correct behavior of NSTableView?
      • From: Drew McCormack <email@hidden>
  • Prev by Date: Re: Newie question of app aborts
  • Next by Date: Re: Authorization.h
  • Previous by thread: Correct behavior of NSTableView?
  • Next by thread: Re: Correct behavior of NSTableView?
  • Index(es):
    • Date
    • Thread