• 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
2 problems with NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

2 problems with NSOutlineView


  • Subject: 2 problems with NSOutlineView
  • From: Ken Victor <email@hidden>
  • Date: Thu, 29 Sep 2005 14:31:08 -0700

i have a "codeless" window that contains only an NSOutlineView. the nib file contains this window and the NSTreeController that lets me be "codeless" (very sweet!) the tree controller "displays" an array of NSMutableDictionary s from my app. the outline view has 2 columns, the first column is not editable, and the second column is editable only if the row has no children (handled via bindings).

i'm having 2 problems. first, if i expand a row and then double click on an editable cell (in the second column) it isn't editable. but if i double click again, it becomes editable.

second, when a cell becomes editable, the first column shifts left several characters, usually far enough left to obscure the expand triangle and a few characters of the text for the cell. this doesn't "fix" itself until i resize either the table or change column sizes. and this only happens the first time i edit a cell.

since, i didn't write any code to get this window up and running, i don't think i did anything wrong, but i'm not ruling that out, and would appreciate any help.

thanx,
ken
_______________________________________________
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


  • Prev by Date: Re: NSEnumerator and the missing peek method
  • Next by Date: Re: NSEnumerator and the missing peek method
  • Previous by thread: window won't become main or key programmatically
  • Next by thread: Turning NSMenuItem into separator
  • Index(es):
    • Date
    • Thread