Re: Icon and Text in NSTableView
Re: Icon and Text in NSTableView
- Subject: Re: Icon and Text in NSTableView
- From: Jesse Grosjean <email@hidden>
- Date: Mon, 5 Apr 2004 12:30:48 -0400
Look at the class "ImageAndTextCell" that comes in the AppKit examples
that come with the developer tools. You will probably find it here:
/Developer/Examples/AppKit/DragNDropOutlineView/ImageAndTextCell.h
Jesse
On Apr 5, 2004, at 12:08 PM, Martin Redington wrote:
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.
_______________________________________________
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.