Re: Implementing a scrollable icon-table
Re: Implementing a scrollable icon-table
- Subject: Re: Implementing a scrollable icon-table
- From: Dan Price <email@hidden>
- Date: Wed, 21 Dec 2005 12:18:13 +0000 (GMT)
--- Alastair Houghton <email@hidden>
wrote:
>
Although, from personal experience, you can't quite
>
get it to work
>
like a Finder view (even modulo the icons being in
>
fixed positions),
>
if that's what your goal is. At least, I couldn't
>
when I tried; the
>
selection behaviour in particular was different, no
>
matter what I
>
tried to fix it.
My requirements are less ambitious. The cells have no
padding between them. Only one cell can be selected at
a time, and this could be represented with a white
border around it. The cells are a fixed size. I could
do it in a view subclass, but I was hoping for a
pre-made solution, especially for drag+drop.
NSTable is wrongly-named if you ask me! NSList would
be more accurate.
>
It's a shame that Cocoa doesn't provide an icon view
>
as a built-in
>
class, particularly as writing something that looks
>
and works exactly
>
like Finder is harder than it looks; this is one of
>
the very few
>
areas where programming on Windows is more
>
convenient, since on that
>
platform the window class used by the Explorer *is*
>
available to
>
third-party programs.
Please don't combine the word 'Windows' with
'Convenient' on this list :-)
___________________________________________________________
Yahoo! Exclusive Xmas Game, help Santa with his celebrity party -
http://santas-christmas-party.yahoo.net/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden