VistaStyleBuilder

Help => Windows 7 => Topic started by: renesis on November 25, 2009, 04:40:14 am



Title: Back/Forward button alignment problem
Post by: renesis on November 25, 2009, 04:40:14 am
Im modifying an existing theme I found on deviantart and something I changed caused the forward/back buttons to drop lower than they are supposed to be.

(http://www.camteq.com/files/back-forward.jpg)

Unfortunately I didnt catch the problem during one of my many edits and now I have no idea which one messed it up.  Its definately a msstyles problem since thats the only file ive edited.  My msstyle can be found at http://www.camteq.com/files/LeopardOSX.msstyles (http://www.camteq.com/files/LeopardOSX.msstyles) if anyone wants to take a peak at it.  Original is at http://alkhan.deviantart.com/art/Leopard-OSX-for-Win7-RC-v2-123978540 (http://alkhan.deviantart.com/art/Leopard-OSX-for-Win7-RC-v2-123978540).

Can anyone think of a reason why this happened?  Ive tried everything I can think of to fix it with no success.  Thanks.

edit:  forgot to mention im using Basic not Aero but its happening in both.


Title: Re: Back/Forward button alignment problem
Post by: Spitzen on November 25, 2009, 01:54:45 pm
It could be the contentmargins of: Toolbars, Headers and Rebar > Rebar > NavBar > Basic > Base > Band

Change the third value


Title: Re: Back/Forward button alignment problem
Post by: renesis on November 25, 2009, 04:35:04 pm
Thanks for the response.  I tried both positive and negative values but couldn't get the buttons to move at all.  The surrounding area would shrink and eventually the buttons would get clipped off only.  I know I never changed those and they are still on the original aero values of 0, 0, 0, 3.

The only thing I did change from the original theme in that area was the the addressband.  I restored the original aero image and the original content and sizing margins.


Title: Re: Back/Forward button alignment problem
Post by: renesis on December 05, 2009, 02:29:29 am
I finally figured this out.  There's a nice little utility called difftool.exe that comes with VSB and using that I found the value that was causing the problem.  It was Toolbars, Headers and Rebar:Toolbar:DropDownButton > Contentmargins:margins.  Mine was set to 0,0,0,3 when it should have been 0,0,0,0. 

Edited:  ka-la is right.  its contentmargins not sizingmargins.


Title: Re: Back/Forward button alignment problem
Post by: ka-la on December 05, 2009, 08:53:58 am
More like content margnis. Anyway thanks, thats a cool trick.