Transparency in the titlebar

Wednesday, April 7, 2004 by CerebroJD | Discussion: Skinning

Whenever I try to put transparency in the top titlebar, it doesnt work. Is there any way to enable it so that I can have a transparent one? I just want the top half of it to be invisible until about halfway across. Then I want the text background image to extend to the full height of the bar. But its not working. Any ideas on how to get around this? I'm using Uis2.
Sput
Reply #1 Wednesday, April 7, 2004 8:02 PM
Hmmm, I tried something similar just recently though not with the text background. I assume it's the text background bit which isn't working? I tried to have a button extend above the visible area of the title bar and it caused all sorts of glitches so I had to bin the idea....I suspect that the text background will be even more problematic as I don't think it has the option to "add to the frame border" that buttons can have.

'fraid I can't suggest a solution...just empathising...
[Message Edited]
digital_trucker
Reply #2 Wednesday, April 7, 2004 9:38 PM
Any transparency in the borders appears to extend to anything on top of it (buttons, text, etc.).
Sput
Reply #3 Wednesday, April 7, 2004 10:35 PM
Buttons are OK as long as you choose the option to "add to frame border" - at least, they show up....I had one showing up fine, but once I did, the window remained "active" when switching to another app unless you rolled the mouse over one of the title bar buttons (see https://www.wincustomize.com/msgboard.asp?BID=WCS&id=266757)

Since the title bar text background image doesn't have an option to add to the window frame, I would expect it to remain tranparent if it overlaps in the title frame...unless this is added as a feature, I don't think it's do-able....?

CerebroJD
Reply #4 Friday, April 9, 2004 5:48 PM
Heres some more stuff about this problem. I got it sorta working, but now I have this problem: It mostly works but a chunk of the bar is munched off for some reason.

Heres what I mean:


This is what its supposed to look like:



Any ideas as to why it might be doing this particular little thing now? I've checked out the BBX Mercury theme and the only difference I can see is that my transparency goes on an angle when theres is vertical.
[Message Edited]
SelfExiled
Reply #5 Friday, April 9, 2004 6:53 PM
If you notice, most of the time the text is centered. That doesn't mean that the text hasn't taken a few extra pixels of area to the left. It looks like a text problem to me.
SelfExiled
Reply #6 Friday, April 9, 2004 6:57 PM
You could also try to create a button to cover that area. But, your problem might be resolved by moving the text margins to the right. It seems that the transparency is working right though.
SelfExiled
Reply #7 Friday, April 9, 2004 6:59 PM
What I mean by working right is that there is no Magic Pink showing, so the problem must be elsewhere.
SelfExiled
Reply #8 Friday, April 9, 2004 7:04 PM
I was thinking too that the problem maybe in how your margins are set. Maybe windowblinds is doing some weird stretch, since the height of the cut-off part is the same as the left part. Maybe you should try to set the sizing margins on the left(or right) to just past the angle part. If that works then you know its how windowblinds is going to draw your title bar.
[Message Edited]
CerebroJD
Reply #9 Friday, April 9, 2004 7:38 PM
Chas, you got msn? I'd like to chat with you about this. Seems odd...
CerebroJD
Reply #10 Saturday, April 10, 2004 12:14 PM
May have found the problem: The margins! Then I move the left margin of the titlebar inwards so that it wont stretch the angle, that part of the image is not shown. What is strange is that it DOES show that area of the image where the narrow bar that goes all the way across is. Strange. Also frusterating. I think this must be a bug.
Shameless Designs
Reply #11 Saturday, April 17, 2004 9:10 PM
CerebroJD, sorry I'm late to the party, but have a look at Thunderstorm by Pixtudio. He used Do Nothing titlebar buttons to control the margin cutoff issue. Although his background graphic is not transparent as yours is, I think something like this might get you to where you want to be. Have a look and I think you'll see what I mean.
CerebroJD
Reply #12 Monday, April 19, 2004 10:21 AM
Thanks, I'll look at that.

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!



web-wc01