Re: Hiding the disclosure triangle in NSOutlineView
Re: Hiding the disclosure triangle in NSOutlineView
- Subject: Re: Hiding the disclosure triangle in NSOutlineView
- From: Milton Sagen <email@hidden>
- Date: Fri, 5 Aug 2005 15:52:29 -0700
I'm not exactly sure of what you're doing but if your data source
returns NO to -(BOOL) outlineView:isItemExpandable: then the
disclosure triangle won't be present for that item in the outline view.
Milt
On Aug 05, 2005, at 12:11, Theodore H. Smith wrote:
Is it possible to hide the disclosure triangle in NSOutlineView?
I'm doing something like a preferences window, where we have an
outline view which allows access to hierachically organised
preference panes. However, there is only one item with children.
And the company I'm working for wants me to make the disclosure
triangle on this item disappear, as it always stays open anyhow.
Is this possible? Should I switch to using NSTableView instead, and
just prepend some spaces before the names in the prefs, to make it
look the same as it is currently?
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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