Classic Shell http://www.classicshell.net/forum/ |
|
Offset for classic start button and custom button http://www.classicshell.net/forum/viewtopic.php?f=7&t=1033 |
Page 1 of 1 |
Author: | jorgk3 [ Sun Aug 04, 2013 1:52 am ] | ||
Post subject: | Offset for classic start button and custom button | ||
While playing around with custom start buttons, I noticed that the custom start button is placed right on the left edge of the screen whereas the inbuilt classic button is placed with a two pixel gap between the button and the edge. Feature or bug? I'd say it's a bug. P.S.: The reason I wanted to do this is to get the 3.6.6 classic button back.
|
Author: | Jcee [ Sun Aug 04, 2013 3:18 am ] |
Post subject: | Re: Offset for classic start button and custom button |
so place 2 pixels of clear background on the image? |
Author: | jorgk3 [ Sun Aug 04, 2013 8:30 am ] |
Post subject: | Re: Offset for classic start button and custom button |
Surely that's a workaround, I added two pixel transparent all around and now the custom button behaves just like the classic button. So does the classic button carry in itself a transparent two pixel border or is it indeed placed differently? |
Author: | Ivo [ Sun Aug 04, 2013 9:06 am ] |
Post subject: | Re: Offset for classic start button and custom button |
The classic button is not an image. It is drawn by code with the correct color, icon, size, and text. It is drawn with an offset to make it match the look of the Classic theme. |
Author: | jorgk3 [ Sun Aug 04, 2013 9:10 am ] | ||
Post subject: | Re: Offset for classic start button and custom button | ||
OK, so the "leave 2 pixels transparent space around the edges" like shown in the attachment is the way to go?
|
Author: | Ivo [ Sun Aug 04, 2013 1:10 pm ] |
Post subject: | Re: Offset for classic start button and custom button |
Yes, if you want to use a custom button that looks like the classic button you have to manually add padding to fine-tune the position. Your example looks about right. |
Author: | jorgk3 [ Mon Aug 05, 2013 12:55 pm ] | ||
Post subject: | Re: Offset for classic start button and custom button | ||
Thanks for the confirmation. In fact, my example is spot on ![]() For all those who want the original XP button back, I'll attach it here.
|
Page 1 of 1 | All times are UTC - 8 hours [ DST ] |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |