Re: Selectable icons in a grid
Re: Selectable icons in a grid
- Subject: Re: Selectable icons in a grid
- From: Uli Kusterer <email@hidden>
- Date: Sat, 19 May 2007 11:58:15 +0200
On 18.05.2007, at 17:51, jonathan esposito wrote:
I am wondering how you can make a list of selectable icons that are
placed
in a grid. For example, Interface Builder displays a list of icons
displaying the File's Owner, First Responder, etc. This is exactly
what I
would like to do.
NSMatrix is really the class you want for a regular grid. You could
use an NSButton with an image and title below it and no border to
simulate the icon list look.
I also have UKDistributedView on my web site, which contains a
Finder-icon-style cell class. You could probably use that with an
NSMatrix to get the look you wanted (though I don't think I ever
tried that).
Or you could just use UKDistributedView itself, but really, that
would be a bit of overkill if all you want is a regular grid of
icons. Find it at:
<http://www.zathras.de/angelweb/sourcecode.htm#UKDistributedView>
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden