Re: snap to grid feature



On Tue, 2002-08-13 at 10:17, Alexander Larsson wrote:
> On Tue, 13 Aug 2002, Gaute Lindkvist wrote:
> 
> > 
> > whooah... Before an algorithm is decided upon, I think the issue on what
> > kind of grid we want should be up for discussion.
> > The way I see it, scaling icons into a grid sort of defeats the purpose of
> > having scalable and stretchable icons in the first place.
> > 
> > What we really want is a system for making icons automatically align and
> > look systematically placed is it not?
> > 
> > What if we instead of aligning icons into the square of the grid, align it
> > to the intersections? This would mean that icons do not have to be the
> > same size to look correct.
> > 
> > I made a small mockup:
> > http://www.skummelt.no/~monty/grid.png
> 
> Nautilus already has some code for cleaning up icons. It does this into a 
> sort of grid, but icons can cover several grid-squares. It would probably 
> be pretty easy to re-use that code.
Your are correct; Although I dont think the codes are being used at all.
I am very much interested in doing snap-to-grid layout for nautilus.  I
would like to get some feedbacks on how snap-to-grid should look and
behaves when one moves icons around to new positions;  Checkout WinXP
desktop snap-to-grid behavior.

0example:
http://llanero.eresmas.net/nautilus/nautilus-align.png
here columns and rows hights and width are set by icon with max
hight/width.  Icons are also aligned verically at their respective
horizontal centers.  Icons of different sizes will align very nicely,
but this is not the most efficient layout space wise.

So far this the type of snap-to-grid I like.

Questions I have:
1) What should nautilus do when it runs out of grid cells
	* I will not handle this case at first









> 
> -- 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>  Alexander Larsson                                            Red Hat, Inc 
>                    alexl redhat com    alla lysator liu se 
> He's a benighted one-eyed gangster from the 'hood. She's a beautiful 
> French-Canadian advertising executive living homeless in New York's sewers. 
> They fight crime! 
> 
> -- 
> nautilus-list mailing list
> nautilus-list gnome org
> http://mail.gnome.org/mailman/listinfo/nautilus-list
-- 
 "There has grown in the minds of certain groups in this country the
idea that just because
a man or corporation has made a profit out of the public for a number of
years, the
government and the courts are charged with guaranteeing such profit in
the future, even in
the face of changing circumstances and contrary to public interest. This
strange doctrine
is supported by neither statue or common law. Neither corporations or
individuals have the
right to come into court and ask that the clock of history be stopped,
or turned back."

-Robert Heinlein, Life Line, 1939



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]