Re: Icon and Text in NSTableView
Re: Icon and Text in NSTableView
- Subject: Re: Icon and Text in NSTableView
- From: Glenn Andreas <email@hidden>
- Date: Mon, 5 Apr 2004 11:34:00 -0500
At 5:08 PM +0100 4/5/04, 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.
NSBrowserCell will do this (though I believe you can only do the
image on the left).
--
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.