New in v1.9! Better tiled-backgrounds on zooming docks
"offset"/"shrink-image" ability
Wednesday, April 25, 2007 by Dr W - Fences Support | Discussion: Docks
**First before I start, for a reminder for skinners who may have read in SkinningTheDock file on making tabbed backgrounds...i highly highly highly recommend not using any special stretch/tile-boundries! E.g. leave out any "LeftWidth"/"TopHeight"/etc flags, and always stretch. Tiling/multiple-stretches/etc for tabbed backgrounds will seriously slow the performance of your tabbed background! Ok, now on with it

Consider the following:
[Tile]
Image=MyBackground.png
ResizeIconByPercent = 100;
OffsetIconByPercentX = 50;
OffsetIconByPercentY = 50;
These are the default settings, as if you entered nothing. (Other than the setting for "Image" of course, you have to set that yourself!). It says that the icon should be sized to 100% (dont resize down at all)...and with any difference in space (which there is none)...offset the icon by 50% of that amount both from the left (X) and top (Y)
For several tile skins I included with OD v1.9, I have something like this:
[Tile]
Image=MyBackground.png
ResizeIconByPercent = 80;
OffsetIconByPercentX = 40;
OffsetIconByPercentY = 40;
This tells ObjectDock to resize the icon down to 80% of its original size, and then offset it by 40% of the difference for both X and Y...so basically, just left and just up of it being centered.
Similarly....
[Tile]
Image=MyBackground.png
ResizeIconByPercent = 80;
OffsetIconByPercentX = 50;
OffsetIconByPercentY = 0;
Those lines tell ObjectDock to resize the original icon down to 80% of its original size, then center it horizontally, but don't move it at all vertically...so keep it top-aligned, but smaller and centered. You'll see this one in use in the HyperGrass skin.
For sake of comparison, take a look at these couple of screenshots and guess which one is v1.9 with an updated skin file, and which isn't



Anyways, subtle sure, but does it open things up for some cool stuff like you can see with the 'glass' and 'hyper grass' backgrounds? Definitely. Haven't gotten a chance to update the "skinning the dock" text file, but will be when we get the chance - hopefully this tutorial is enough for people who want to start making their tiled backgrounds rock. Enjoy

-Jeff Bargmann
ObjectDock Lead Developer
Reply #2 Wednesday, April 25, 2007 5:09 PM
Reply #3 Thursday, April 26, 2007 7:39 AM
Thank You Jeff for all the improvements you have made to this program.
It's My Secret
Reply #4 Friday, April 27, 2007 11:22 AM

Reply #5 Saturday, April 28, 2007 8:11 AM
I have downloaded and installed the Objektdock 1.9, and it works very
fine, except the weather widget/gadget. The weather server can not locate
Copenhagen, Denmark, but there is no problem when I change it to Berlin, Germany.
In Vista sidebar gadet, the weather forecast is perfekt and in my own language,
so is there something missing in this version or what.???
Regards
Kim B.
Reply #6 Saturday, April 28, 2007 10:22 AM
Accuweather looks like it uses Copenhagen, Denmark (Staden Kobenhavn) but the docklet doesn't support it.
There is a whol other post about this problem and Stardock is working on it.
All will be well
Reply #7 Sunday, April 29, 2007 9:01 PM
Reply #8 Monday, April 30, 2007 7:00 AM
Reply #9 Tuesday, May 1, 2007 3:26 PM
Also, now maybe more folks will use the tiles.Reply #10 Wednesday, May 2, 2007 11:39 PM
We'll see about something for a v1.9x 
Reply #11 Thursday, May 3, 2007 9:35 AM
Thanks for your reply. It's such a great feature, I knew there must be a reason it was for tiles only. I'm looking forward to the next version.
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Wednesday, April 25, 2007 5:00 PM