Published on March 9, 2004 By solutiondesign In Skinning
The way things dock in the new version of desktop X, seems to be different than it's previous versions.
E.g. In my Aquamarine theme which is resolution independent, i have set the topbar to dock with the "top" of the screen.

When i load the theme on DX 2.1 the topbar is positioned off the Screen at -30. Have i used the wrong settings?

If you don't understand download my aquamarine theme, them restart windows with DX to load on start-up and you will see what i mean, the only solution i have found is to restart desktop x once windows is fully loaded.

[Message Edited]
Comments
on Mar 14, 2004
There seems to be an issue with whether the taskbar is visible or not. DX seems to take it into account and moves objects accordingly.. The problem is that it seems to check it too early or something and positions things in relation to it before it realises it's hidden.
on Mar 16, 2004
Ditto - very annoying and I hope it soon gets sorted.
I have had this problem since 2.1 first became available.
on Mar 16, 2004
I've found a solution Adam - Iv'e gone back to 2.0.
on Mar 17, 2004
you said it !
on Mar 20, 2004
Don't set it as a dock instead give it a script to act like a dock.

Just use the window edges and and the x,y coords of the object to get it positioned right at start. If you feel like going further you can make it dynamic so it can change sizes on its own, but still be in the right place. You can also make other objects that use a script to set themselves relative to the first. I made a taskbar like this on my own that would change sizes depending if winamp was running: if it was a bar would popup in the middle and blend in with winamp controls on it. If winamp shut off the bar would dissapear and the whole of the taskbar went back to the original size. Also at the edge (it only covered about 1/2 the screen width) I had a weather bar that would change size to accomodate the lenght of the weather string that I supplied it: "windy" would make the bar shorter than say "thunderstorms." It is a shame that I never made my own graphics for it and was to lazy to make them before I had to reinstall windows.

I personally see things like the dock setting as a substitute for scripting. While not a bad thing, you can do more with straight scripting.
on Mar 26, 2004
If I had it I would

I remember sort of how it goes. I also might have it on a cd somewhere. Give me a little and I will tell you how to.