having trouble with button height
Tuesday, July 1, 2008 by animuson | Discussion: Skinning

Reply #2 Sunday, July 6, 2008 4:24 AM
Reply #3 Sunday, July 6, 2008 4:30 AM
Your taskbar buttons should be the same height as the taskbar itself (including empty canvas on the top and bottom)
Also check the height of your start button. If it is higher than your taskbar, it sometimes forces your taskbar higher which will give you space at the bottom of your taskbarbuttons. Check also the text margins in the quicklaunch buttons.
Reply #4 Sunday, July 6, 2008 5:24 AM
That part is true...the rest,not so much,sorry 2 of 3.
taskbutton(and quicklaunch,systray)content margins determine height of the taskbar.Buttons and taskbar graphics can be damn near any size...they will grow or shrink to fit.Start button will just be cut off on the bottom if its taller than the height of the taskbar.
I often use mismatched image sizes for various reasons...no problem.It does simplify things if they are all the same.
I have a special design currently that needed to tile properly at all heights...single,double,triple,etc...It is 60 pixels tall...but as a single it is 30.An oversized Start button(vertically)only pushes the quicklaunch buttons down further on a vertical taskbar.
Taskbar height near as I can figure...is...16 pixels for icon,6 pixels of icon space and however much more you need in content margins to achieve your desired taskbar height.(total of 8 in my case,4 top and 4 bottom)Huge or tiny fonts may affect this formula but you can get your taskbar the right height regardless of your image sizes.
Reply #5 Sunday, July 6, 2008 5:34 AM
One could write a book about what I don't know about skinning
Please disregard my ramblings, animuson
Reply #6 Sunday, July 6, 2008 8:20 AM
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!







Reply #1 Saturday, July 5, 2008 11:48 PM
check how much space you have at the bottom of your buttons, and then remove that space......(hope that makes sense)
so for example if you have 3 pixels of space below your buttons (as you say, it keeps putting 3 extra pixels at the bottom) then cut them out of your graphics and then try the buttons and see if that improves the situation.
...i hope this helps you somewhat...