It should be really practical to handle spacing between each item icon. Each icon is actually glued to its neighbour, it should be nice to have a spacing when icon is in its small state and maybe another when icon is its zoomed state (with maybe a factor or function to interpolate between each, or at least linearly interpolate).
Additionnaly, it should be nice to define a baseline for zoom, in order to align pixel of an icon always on same coordinate, in small icon state as well as zoomed icon state. Just imagine an icon which has a transparent reflect under it, for which we want each icon staying on same baseline (look at http://www.ndesign-studio.com/blog/mac/css-dock-menu to understand the kind of icon I talking).
Thank you :-)
Logged In: YES
user_id=1371121
Originator: YES
Ok I did the spacing for myself, here is modifications for horizontal spacing in euDock.2.0.js :
line 60 :
...
euEnv.mouseMoved=false;
euEnv.iconSpacing = 0; // <==
...
line 415 :
...
if (this.position==euUP || this.position==euDOWN || this.position==euHORIZONTAL){
bakWidth += this.iconsArray[i].getWidth() + euEnv.iconSpacing; // <==
...
line 447 :
...
updPosY=bakHeight-this.iconsArray[i].getHeight();
posx+=this.iconsArray[i].getWidth() + euEnv.iconSpacing; // <==
...
Surely incomplete, but at least a base start.
Cheers.