(no subject)
(no subject)
- Subject: (no subject)
- From: Don Willems <email@hidden>
- Date: Wed, 28 Jul 2004 14:45:35 +0200
>
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
Look for the ImageAndTextCell class.
Don Willems
NICI, Cognitive Engineering - University of Nijmegen
------------------------------------------------------------------------
-------------------------
Montessorilaan 3, Room: B.02.02 (B02.36 until August 2004)
P.O.Box 9104, 6500 HE Nijmegen, The Netherlands
phone: +31 24 3616029 | fax: +31 24 2616066
email: email@hidden |
http://homepage.mac.com/don_willems
------------------------------------------------------------------------
-------------------------
_______________________________________________
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.