• 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: NSOutlineView not always showing "expand triangle"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSOutlineView not always showing "expand triangle"


  • Subject: Re: NSOutlineView not always showing "expand triangle"
  • From: Luc Vandal <email@hidden>
  • Date: Tue, 21 Jun 2005 15:41:32 -0400

No! I know how to use the datasource. What I meant is that there is no indentation for the third level and on is not there! Here's an example (I hope tabbing works in the body!!!)

Right now, my outline view looks like this:

> Item 1
	> Item 2 (child of Item 1)
	> Item 3 (child of Item 1)
	> Item 4 (child of Item 1)
	Item 5 (child of Item 4)
	Item 6 (child of Item 4)
	Item 7 (child of Item 6)

When it should look like this:

> Item 1
	> Item 2 (child of Item 1)
	> Item 3 (child of Item 1)
	> Item 4 (child of Item 1)
		> Item 5 (child of Item 4)
		> Item 6 (child of Item 4)
			> Item 7 (child of Item 6)

I don't know if it's me that does something wrong or what. I hope that my problem is now clearer!



On 21-Jun-05, at 9:07 AM, Stefan Schüßler wrote:

You have to implement the data-source delegate methods. See "Writing an Outline View Data Source" at http://developer.apple.com/documentation/Cocoa/Conceptual/OutlineView/ index.html

Stefan

On 21.06.2005, at 15:02, Luc Vandal wrote:

Anyone???

On 17-Jun-05, at 3:28 PM, Luc Vandal wrote:

Hi!

How come the "expand triangle" (sorry I don't know the exact term for it) is only visible for the first two levels of my NSOutlineView? isItemExpandable() always returns YES so I don't understand what I'm doing wrong! Also, the items that does not have the triangle icon still can be expanded with the right arrow...

Luc


_______________________________________________ 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



____________________________________________________
Luc Vandal
Développeur de logiciel / Software Developper Victor Reader Team

HumanWare
841 Jean-Paul-Vincent, Longueuil QC, Canada J4G 1R3
Tél : / Tel +1 450 463-1717 ext. 356
Fax / Téléc : +1 450 463-0120
www.humanware.com
_______________________________________________
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


  • Follow-Ups:
    • Re: NSOutlineView not always showing "expand triangle"
      • From: Luc Vandal <email@hidden>
References: 
 >NSOutlineView not always showing "expand triangle" (From: Luc Vandal <email@hidden>)
 >Re: NSOutlineView not always showing "expand triangle" (From: Luc Vandal <email@hidden>)
 >Re: NSOutlineView not always showing "expand triangle" (From: Stefan Schüßler <email@hidden>)

  • Prev by Date: Design Dilemma ...
  • Next by Date: XCode 2.1 Debugging shows assembler by default
  • Previous by thread: Re: NSOutlineView not always showing "expand triangle"
  • Next by thread: Re: NSOutlineView not always showing "expand triangle"
  • Index(es):
    • Date
    • Thread