How to make progressbar without gaps?

WindowBlinds

I tried different methods but none seem to work.

These are the entries from the code. The images have no gaps embedded.

[Progress]
Bitmap=gimmick\progressbar.bmp
LeftWidth=0
RightWidth=0
TopHeight=1
BottomHeight=1
Trans=0
PerPixel=0

[ProgressXP.HorzEdge]
Image=gimmick\ProgressBarXPHorz.bmp
Trans=0
PerPixel=0
ChunkGap=0
ChunkSize=0
LeftWidth=0
RightWidth=0
TopHeight=1
BottomHeight=1
ContentLeft=0
ContentRight=0
ContentTop=1
ContentBottom=1

[ProgressXP.HorzBlock]
Image=gimmick\ProgressChunkXPHorz.bmp
LeftWidth=0
RightWidth=0
TopHeight=0
BottomHeight=0


Thanks

3,364 views 4 replies
Reply #1 Top
james, From what I can see in comparing your code to my code for the progress bar, you are missing some settings. May I suggest you download one of my skins, and open it in skin studio, and compare your code with mine. One big difference is that I use tga (pngs that SKS converts for me) for my images. Also, you don't have settings for stretching/tiling of your images in your code. When I was first learning how to do stuff, I would open other people's skins in SKS and see how they did whatever it was I was having trouble with...that always helped me a lot. Hope this helps.
Reply #2 Top
Are you using SKS6? When I made mine, all I did was use .png files (solid bar, no gaps), converted to .tga in SKS6. Then in the progress block area, go to "extra settings". Set the gap to 0 and the chunk size to 1. No codes needed.

If you're in SKS5, I have no idea how to do it.
Reply #3 Top
Thanks Jazzy and Xiandi.

Jazzy, I downloaded the Spring Reflection and replaced sections in my blind with your code. I still had the problem. Then I noticed your blind did not have XP - Chunk Vertical set. I removed that section from mine and voila. It works now as expected.

Xiandi, I originally had TGA images and thought that was the problem. So I converted them to BMP images.
Reply #4 Top
James,
I'm glad it worked out for you. The progress bar is a challenge to figure out in the beginning.  :)