Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Glenn Andreas <email@hidden>
- Date: Wed, 28 Jul 2004 09:29:04 -0500
At 2:45 PM +0200 7/28/04, Don Willems wrote:
> I've been poking around a bit at the various resources on the web, and
(maybe I'm not looking close enough) I haven't found a class that
handles a combination mini icon display and associated text like the
list box on the left pane of the iTunes interface.
You mean you want to have a list containing a small icon and associated
text in one cell in an NSTableView or NSOutlineView?
Of course for a simple list or table you can simply add an extra column
for the icon to the left of the text column.
For an NSOutlineView it is more complicated as you probably would like
the icon and text to appear at the same indentation level. You will
need to create your own custom cell (containing both icon and text).
But there is an example with the Developer Tools at:
/Developer/Examples/AppKit/DragNDropOutlineView
Or use an NSBrowserCell, which can contain both an image and text
(and they then appear at the same indentation level quite nicely).
--
Glenn Andreas email@hidden
mondo blobbo, Cythera, Theldrow, oh my!
Mad, Bad, and Dangerous to Know
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: | |
| >(no subject) (From: Don Willems <email@hidden>) |