Icon and Text in NSTableView
Icon and Text in NSTableView
- Subject: Icon and Text in NSTableView
- From: Martin Redington <email@hidden>
- Date: Mon, 5 Apr 2004 17:08:20 +0100
I have an NSTableView that displays a list of mounted volumes
(it took me a while to work out how to get access to the list of
mounted volumes reliably, but I think that bit is sorted now).
Currently I have a separate column for the volume icon, and for the
volume name.
However, I would like to display the icon and text in a single column,
with the text either underneath the icon, or to the right (I would
ideally like to be able to configure this). The latter would appear
something like the mounted volumes panel in the 10.3 Finder windows.
It looks like I can do this with a custom NSView, or even some variety
of NSButtonCell, but any pointers would be good.
cheers,
Martin
_______________________________________________
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.