Re: NSOutlineView not always showing "expand triangle"
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 16:47:30 -0400
One important thing I forgot to mention is that the "misplaced" child
items are only displayed when I expand the parent item.
For example, Item 5 and Item 6 are displayed when I select Item 4 and
press the right arrow. So the outline view considers them children of
Item 4 but doesn't display them accordingly!!!
Luc
On 21-Jun-05, at 3:41 PM, Luc Vandal wrote:
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
_______________________________________________
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