Help Makeing a dock background.
Saturday, April 19, 2008 by RobJK | Discussion: WinCustomize Talk
Yes I know it is kind of hard to explain something that differes from image to image... But I am hopeing that someone has something they can tell me here, or anything, or lots of things, something that will help me to understand. Or maybie examples with pictures of twhat the margin names represent. I dont even know if the margins are dependant on your image size or a default height that your image is squished or streched into? Anything would help and will be greatly appreciated? I am familiar with the margins in windows blinds? Maybie how they differ or are alike them?
Reply #2 Sunday, April 20, 2008 5:08 PM
Reply #3 Sunday, April 20, 2008 5:09 PM
Reply #4 Sunday, April 20, 2008 5:22 PM
Below is part of the .ini for my Black Chrome Tray zoomer dock. I will use it to explain the settings,
[BackgroundTop ]
Image = top2.png
LeftWidth = 45
TopHeight = 0
RightWidth = 45
BottomHeight = 0
OutsideBorderLeft = 25
OutsideBorderRight = 25
OutsideBorderBottom = 27
OutsideBorderTop = 0
The width and height settings control how much of the image is drawn as is, the rest of the image inside these values is stretched. You can think of them as the sizing margins in SkinStudio.
The outsideborder settings control the placement of the icons on the dock. These settings also act as width and height and add to them to draw image as is before stretching. This is important to know when you are creating more complex dock images.
Reply #5 Monday, April 21, 2008 2:07 AM
practice.

and when I set the margins it shows the back of the shelfs edges as straight up and down lines instead of at an angle like the acual image. Here are my settings.
[Bold]
[Background]
Image = Back.png
TopHeight = 0
BottomHeight = 100
LeftWidth = 50
RightWidth = 50
TileCenter = 0
TileVCenter = -5
I know you cant tell me the exact margins but I must be doing something wrong.
It is probly because i dont have outside border set?
Reply #6 Monday, April 21, 2008 2:10 AM
Reply #7 Monday, April 21, 2008 11:46 AM
Reply #8 Monday, April 21, 2008 4:58 PM
Right.
Do you have ProportionalStretch = 1 in the .ini, it would be at the top under Info, if so remove it it will make a tray look squared.
TileVCenter = -5
For a normal plainish dock these are not really needed. When used to tile a more complex image they are set to 1 for on or 0 for off, the -5 you have does nothing, again just remove them from .ini.
Yep and that is what OutsideBorder does.
Reply #9 Monday, April 21, 2008 5:00 PM
Yep.
What size is your image, this looks like way to high a setting. Only need this set enough to make bottom edge look right.
Reply #10 Monday, April 21, 2008 7:00 PM
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 Saturday, April 19, 2008 5:06 AM