Hi,

I'm running into a bit of trouble in skinstudio getting the close button (single) to align the way I want. It seems that skinstudio (v6.4) places the lone close button (that is, for popup windows which only have a close button and no min or max buttons) based on the alignment values for the normal close button. Normally this would be fine, but for the skin I am currently working on, I have cut out holes in an otherwise solid titlebar for each of the min/max/close buttons (then when I put in semi-transparent images for the buttons, you can see the background through the buttons). However, for windows with only the close button, I would like to cover up the two unused holes (where min and max usually would go); the way I would like to do this is just make the close button (single) image extra wide with non-transparent parts drawn over where the other two hole would normally be. However, this means that I have to align the entire close button (with the added in solid parts) farther away from the right edge, but the values I set under the close button (single) window aren't taking effect; it's still using the ones from the normal close button.

Any help or suggestions on possible workarounds would be much appreciated. I've tried making the normal close button extra wide too with transparent parts on the left, but that doesnt work since the close button just covers up the clickable area for the min and max buttons. Any other suggestions?


Comments
on Jun 08, 2009

Here's a screenshot of what I'm talking about. The top is a picture of the buttons for normal windows, the dark part of each circle is semi-transparent. The middle is what happens with windows that only have the close button (you can see the holes I cut out of the titlebar for the min and max buttons). The third is what I would like windows with only one close button to look like.

 

 

Also, whatever happened to being able to animate the titlebar buttons (and all the other infinitely useful properties that the titlebar buttons had back in the old skinstudio? I know the new skinstudio is slicker to look at and less cluttered, but I miss being able to fine tune exactly when and where I want which button to show up)

on Jun 09, 2009

The only way to do what you are trying to do is to fake the cutout behind the button. I spent a lifetime trying to do the exact thing you are trying when I made my Schism skin.  https://www.wincustomize.com/zoom.aspx?skinid=5459&libid=1

What I mean by fake is add the background of the button to the button itself.

eeew, now you made me go back and look at my old work......

Also, depending on whether your background is light or dark would make a big difference as to how the buttons looked if it could be pulled off.  I think you would be dissapointed in the final result.

Wish I had better news for you.

on Jun 09, 2009

I was thinking....

Maybe you can add buttons that cover the the blanks left when the min/ max buttons aren't in use. It would require manually adding code for button action and when to show like sks5 could do. As long as you don't have any gradients in the top window frame the blanks you make will blend in to cover the holes in the window frame.

In the past when a window was rolled up you would see the corners of windows get screwy. Adding a button to cover the mess on rollup was the way around this.  Action would be- Do nothing and show when there is no max/min button.

I don't have SKS insstalled so I am not sure if it will work or not but it's worth trying.

on Jun 09, 2009

Thanks for the reply. I was thinking exactly the same thing: add in some functionless buttons that only show when max and min button are not present. Do you know what the code would look like to display when there is no max or min though? I remember there were all sorts of useful pulldown menus in the old SKS that would allow you to define these things, but not in the new SKS.

on Jun 09, 2009

I don't know the specific code but if you started a test skin in sks5 and added the buttons with the correct settings you could then open that skin in notepad and copy the code and then transfer it to your skin. Make a copy of your skin for testing first of course. I really have no idea if the coding will work or not but I have had great success doing things just like this in the past.

on Jun 10, 2009

Hmm, no luck. Apparently skins for vista do not support uis2 skinning which was what SKS 5 used for XP skins.

on Jun 22, 2009

me hav this prob......... Done many things to sort out tat,, but still didnt find solution for tat,,,,,,,,,,