VistaStyleBuilder

Help => Windows Vista => Topic started by: rajtheeban on April 25, 2009, 02:06:42 pm



Title: how to change favorites link's font and background?
Post by: rajtheeban on April 25, 2009, 02:06:42 pm
Hi all

sorry for my english, i'm from france

i have just bought vsb, i currently made my own visual style but i need some help concerning 2 problems

1) at first, i would like to know to do for modifying the font and the background of favorites links; this is the favorites links by default:

 (http://nsa08.casimages.com/img/2009/04/25/090425024825974409.png) (http://www.casimages.com)

but this is the same favorites link but revisited in this visuals tyle

(http://nsa07.casimages.com/img/2009/04/25/090425024610441664.png) (http://www.casimages.com)

the font and the background has been modified: how to?

2) after, how to resize the icon of the shellstyle? this is the icon's size by default:

(http://nsa08.casimages.com/img/2009/04/25/090425025833851617.png) (http://www.casimages.com)

but in this image, the icon seems bigger.. just an impression or reality?

(http://nsa08.casimages.com/img/2009/04/25/090425024644436059.png) (http://www.casimages.com)

tks very much !







Title: Re: how to change favorites link's font and background?
Post by: Panda X on April 25, 2009, 03:38:37 pm
The Favorites list properties are located in Explorer & Shell > Shell > CommonPlaces > Toolbar

I think the picture is bigger simply because it's showing a picture and not an icon.


Title: Re: how to change favorites link's font and background?
Post by: rajtheeban on April 25, 2009, 09:02:56 pm
tks panda

concerning the first problem , i didn't suceeded to resolve it with vsb, i had to looked in shellstyle option (UIFLE);

<if id="atom(ProperTreeLinksHeader)">
<Element
foreground="themeable(argb(255, 255, 255, 255), windowtext)"
background="themeable(argb(255, 45, 85, 115), window)"
padding="rect(9rp,9rp,0rp,7rp)"
font="gtf(textstyle, TEXT_BODYTEXT, 0)"



Title: Re: how to change favorites link's font and background?
Post by: sunbeam2000 on April 28, 2009, 12:02:40 pm
the icon (and the preview images) get bigger by expanding the preview pane manually (placing mouse exactly between folderband and previewpane then a stretch coursor appears)

the "Linkfavourite" header background image and textcolor are added in the shellstyle.dll by inserting a new bmp image etc.
(look into my shellstyles and search in the shellstyle text for the image definition. maybe you have to adjust the padding when using a own image)

the linkfavourites-text color and properties itself is in the vsb like panda described..


Title: Re: how to change favorites link's font and background?
Post by: rajtheeban on April 28, 2009, 01:08:55 pm
yeah sunbeam thank you very much!

for make the icon bigger, i suceeded

and for the favorites links' background, i understand: you must add something like " resbmp xxx = number of your image resbmp123, 6,0, 0,0, etc in your visual style)

there is also a method for center text of favorites links
add: "contentalign="middlecenter"

example:

<if id="atom(ProperTreeLinksHeader)">
<Element
"contentalign="middlecenter"
foreground="themeable(argb(255, 255, 255, 255), windowtext)"
background="themeable(argb(255, 45, 85, 115), window)"
padding="rect(9rp,9rp,0rp,7rp)"
font="gtf(textstyle, TEXT_BODYTEXT, 0)"



 :D



Title: Re: how to change favorites link's font and background?
Post by: sunbeam2000 on April 28, 2009, 08:19:43 pm
yeah, you learn very fast  :D

curious, how your VS will be..