Storage Page
In SKS, when using 2 close images, it relies on the main image for positioning
Published on December 17, 2012 By DocWilson In Skinning

n making my new skin I made an inset background for my per pixel frame Close,Max and Min butons. I saved the background as a .png so I could cut it into 3 pieces.

I also made a different image for the single close buttons using an inset background that was complete.

When I applied the button omages the normal ones positioned correctly but no matter what pixel amount I enterd, the single close button wouldn't move and was stuck in the border of the frame.

   After asking Xiandi about the problem she confirmed my suspicions that it's a glitch in SKS.

The way I fixed this problem was to go back into both close button graphics and re-position the single close button images as far left as they would go. I next opened up my main close button image and shifted the button placement to the right bu numerous pixels. Then, after re-positioning the buttons in the per pixel frames, the single close button  (as seen in the Settings menu for the Start menu by right clicking the taskbar) the button had moved left and away from the right hand border.

 I posted pictures showing the window with a single close button and the one at the bottom with the buttons stiched together so it would look like one inset background.

corrested placement of single close button buttons alligned right

As a side note, the USI2 frame buttons have to be created with a complete inset background before placement because there is No single close button in that section.

My new skin "3D Blues" will be out soon so you can see the results in the per pixel and USI2 frames.

I hope this was of some help to skinners.

DocWilson


Comments
on Dec 17, 2012

(as seen in the Settings menu for the Start menu by right clicking the taskbar)

I was almost with you up until this point, but this threw me off.

Please post your pictures, I'd like to see what you really mean. I have had encounters where changing the location for the single close button would have saved me from reinventing the frame graphic.

on Dec 17, 2012

(as seen in the Settings menu for the Start menu by right clicking the taskbar)

I was almost with you up until this point, but this threw me off.

Please post your pictures, I'd like to see what you really mean. I have had encounters where changing the location for the single close button would have saved me from reinventing the frame graphic.

 

Sorry about no pictures in the original post. I made a photobucket account and hope th3e pictures clear things up.

I made an insert using bevel and emboss but to do that you must make the inset using pixels instead of shapes. when saved to .png format the graphic can be cut into 3 pieces, one for each button, close, max and min.

I made a second complete background insert for the single only buttons and applied them to the buttons.

I had no idea this was going to cause positioning problems but by moving the button layers to the left of the single close button ande then moving the normal close button layers to the right, I was able to get around SKS's use of only the topm positioning amounts.

I hope this first try at helping is clear enough.

Thanks for asking for pics of what was done.

DocWilson

on Dec 17, 2012

The single close button must always be in the same place as the regular close button. As well it cannot take up "more space" than the regular close button (IE the state frames must be the same size)

on Dec 17, 2012

Nice skin!

on Dec 17, 2012

The single close button must always be in the same place as the regular close button. As well it cannot take up "more space" than the regular close button (IE the state frames must be the same size)

The sizes of both close graphics are the same but the position of the graphics inside have been moved so the position setting of the main close graphic would move the single close button to the left and thereby away from the frame edge.

I just had to use 2 different background insets for the regular close button and single. Thank goodness the problem is fixed now by the pics you see in my original post.

Ah< i just got what you meant by the states being the same size. Because I needed a full inset in my single close button, the graphic for each state became 6 pixels larger than the regular close button.

on Dec 17, 2012

DocWilson
Ah< i just got what you meant by the states being the same size. Because I needed a full inset in my single close button, the graphic for each state became 6 pixels larger than the regular close button.

that is probably where your problems began.

 

when cutting up, or creating  ANYTHING for skin studio you need to be absolute precise with sizes, and what you cut up ect.

one pixel out, and everything is borked.

 

on Dec 17, 2012

thx and welcome.