Controlling ShellStyle TitleBar Height - How?

I've asked this question in the NG's but gotten no replies - maybe someone here will have the key.

Anyone know how to change the height of the ShellStyle TitleBars (Task Pane & Special Pane)? I see skins with varying heights there, so there must be a way. I just can't seem to find it. Changing the font settings in widgets for systemfonts has no effect.

Appreciate any help - I have an update for a skin ready to upload pending a fix for that.

Cheers,
Daiwa
5,083 views 7 replies
Reply #1 Top
Other than using transparency to make the bar appear smaller, I'm not sure of a way to change those.
Reply #2 Top
Thanks, Essencay.

I'm actually trying to make them bigger (taller) so a matching button will fit. I've tried trimming the graphics in various ways and adjusting the offset for the button, but nothing looks right - a one-pixel difference in graphic height will cause either cropping or distortion. Looks perfect in SKS, but gets scrunched down or cropped when actually applied.

Frustrating.

Cheers & Happy New Year,
Daiwa
Reply #3 Top
Out of desperation, I wondered how the TitleBar would handle an oversized button, so I tested it with one and BINGO - the TitleBar is dynamically sized to the height of the button image. All I had to do was pad the button image with additional rows of magic pink and all was well.

Well, almost all. There is a glitch in how Windows paints the buttons in the shellstyle. The top TitleBar button gets placed one pixel further to the right than the buttons in the remaining 3 TitleBars. Not too noticeable unless you are working with 1-2 pixel magins.

As usual, one problem solved , one problem found .

Cheers,
Daiwa
Reply #5 Top
All I had to do was pad the button image with additional rows of magic pink and all was well.


You can use TGA format to the buttons too, to get the transparence without need the Magic Pink
Reply #6 Top
Hopefull, Adam will see this and incorporate it into a tutorial.

Cheers,
Daiwa
Reply #7 Top
Yeah, any way you vary the height of the button graphic will work I assume. I just happen to use a .bmp with magic pink for the button.

Cheers,
Daiwa