VistaStyleBuilder

Help => Windows 7 => Topic started by: dncwalk99 on January 19, 2012, 12:38:16 am



Title: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 19, 2012, 12:38:16 am
(http://i.imgur.com/3sCyGl.jpg)

I edited element under ItemsView in explorerframe.dll to

<element background="argb(0,0,0,0)" contentalign="topleft" font="gtf(Listview, 6, 0, 807)" />

It changed most of the fonts that i wanted to change on that screen.  These few are all that is left.  Thanks for any help.


Title: Re: Explorer screen font locations. Help please.
Post by: Dave Senior on January 19, 2012, 11:23:51 am
Fonts, Colors & System Metrics > Fonts & System Metrics > MENUFONT:FONT  for the details pane.


Title: Re: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 19, 2012, 11:43:20 pm
Yea.. the fonts have been changed.. i need to set the size.


Title: Re: Explorer screen font locations. Help please.
Post by: 3am on January 20, 2012, 12:36:54 am
In WSB use the font menu size selection

In a UIFILE just put fontsize="9pt" etc

If you want to change the style: Use font menu style selection or in a UIFILE fontstyle="bold" or Normal etc

ALSO:Sometimes you will find in a UIFILE : font="menufont;110%". You can remove this or change it to just "menufont"


Title: Re: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 20, 2012, 01:56:51 am
I edited element under ItemsView in explorerframe.dll to

<element background="argb(0,0,0,0)" contentalign="topleft" font="gtf(Listview, 6, 0, 807)" fontsize="6pt" />

Nothing changed.


Title: Re: Explorer screen font locations. Help please.
Post by: 3am on January 20, 2012, 02:06:37 am
Change the font size in WSB font menu.

You are linking it to the msstyles so you have to change the font properties there. If you were adding it directly to the UIFILE you would use fontsize="6pt".

So go to Lists, Menus, & Tabs > ListView > GroupHeader > HEADING1FONT:FONT, click the font value which will bring up the WSB font menu:

(http://i632.photobucket.com/albums/uu41/3am_2009/Capture-94.png)

Change the font size etc here.


Title: Re: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 20, 2012, 02:15:18 am
One of the first things I changed when starting..

Fonts, Colors & System Metrics > Fonts & System Metrics > MENUFONT:FONT is set to PF Tempesta Seven, 6, Quality:NonAntialiased

Also,

Lists, Menus & Tabs > ListView > GroupHeader has 4 font settings in it.  FONT:FONT, HEADING1FONT:FONT,HEADING2FONT:FONT, and BODYFONT:FONT.
All are set to PF Tempesta Seven, 6, Quality:NonAntialiased.

So that still hasn't changed anything.  That is why I'm stuck because I thought it would change it.


Title: Re: Explorer screen font locations. Help please.
Post by: Panda X on January 20, 2012, 02:35:59 am
According to that UIFile line it's

Lists, Menus, & Tabs > ListView > GroupHeader | HEADING1FONT:FONT

That's what font="gtf(Listview, 6, 0, 807)" means


Title: Re: Explorer screen font locations. Help please.
Post by: 3am on January 20, 2012, 02:39:40 am
If Fonts & System Metrics > ICONTITLE FONT:FONT and MENUFONT:FONT and Lists, Menus, & Tabs > ListView > GroupHeader > HEADING1FONT:FONT are all set exactly to the same font then they should look exactly alike. Unless you've chaneged something in a UIFILE somewhere


Title: Re: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 20, 2012, 02:42:35 am
I know.
Quote
Lists, Menus & Tabs > ListView > GroupHeader has 4 font settings in it.  FONT:FONT, HEADING1FONT:FONT,HEADING2FONT:FONT, and BODYFONT:FONT.
All are set to PF Tempesta Seven, 6, Quality:NonAntialiased.


ICONTITLE FONT:FONT, MENUFONT:FONT, and HEADING1FONT:FONT are all set the same.. and the only thing i changed in the uifile was:

<stylesheets>
    <style resid="ItemsView">
      <button background="argb(0,0,0,0)" contentalign="topleft" />
      <clipper background="argb(0,0,0,0)" contentalign="topleft" />
      <element background="argb(0,0,0,0)" contentalign="topleft" font="gtf(Listview, 6, 0, 807)" fontsize="6pt"/>       <----That Line.
      <FadeElement background="argb(0,0,0,0)" contentalign="topleft" />


Title: Re: Explorer screen font locations. Help please.
Post by: Panda X on January 20, 2012, 02:45:59 am
You don't need fontsize when font is defined with gtf()


Title: Re: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 20, 2012, 02:48:05 am
I figured that but I was trying earlier suggestions.  The fonts are perfect in all the other views.. Only the Content view has the larger font.  And the panel below has the larger font no matter what view.


Title: Re: Explorer screen font locations. Help please.
Post by: 3am on January 20, 2012, 02:50:42 am
Which is exactly what I said here:  http://vistastylebuilder.com/forum/index.php?topic=1656.msg9115#msg9115

You don't have to link back to the msstyles with a gtf, You could just add one directly to the UIFILE and THEN you would use fontsize="6pt"


Title: Re: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 20, 2012, 02:54:43 am
Even with fontsize taken out of the uifile, it doesn't help.  The fonts under the Content View  is still larger than all the other font and so is the one line of text at the bottom panel.  

Edit: I fixed the bottom line of text in the lower panel.  It was resid="details".


Title: Re: Explorer screen font locations. Help please.
Post by: Panda X on January 20, 2012, 03:00:40 am
Content View uses a different label. It's in one of the smart views.


Title: Re: Explorer screen font locations. Help please.
Post by: 3am on January 20, 2012, 03:21:29 am
Look, in your first picture the stuff in red squares ( except for the preview pane) is ICONTITLEFONT:FONT. Did you possibly make a mistake in fontstyle or something. Because unless you made a UIFILE change you aren't saying these HAVE TO BE ICONTITLEFONT:FONT


Title: Re: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 20, 2012, 03:26:51 am
For the sake of argument here.. I'm going to sfc the explorerframe.dll.. i will then have a nice fresh clean one.. i'll take a ss of the window in question with a stock Base.msstyle.  Then I'll change the iconfont in the msstyle.. get another ss... then I will add the one line to the uifile and take another ss.  Be back in a few.


Title: Re: Explorer screen font locations. Help please.
Post by: dncwalk99 on January 20, 2012, 03:57:06 am
Ok.  So here is part of the CBS.log to prove that I have a fresh, clean, and unmodified ExplorerFrame.dll

Code:
2012-01-19 21:30:04, Info                  CSI    00000010 [SR] Beginning Verify and Repair transaction
2012-01-19 21:30:04, Info                  CSI    00000011 Hashes for file member \??\C:\Windows\System32\ExplorerFrame.dll do not match actual file [l:34{17}]"ExplorerFrame.dll" :
  Found: {l:32 b:IBaEwh4lHdZD3ATBJA+Ha0cuMdn4J4IHwHaq4kLhTEg=} Expected: {l:32 b:6e4eIlNEWyB7dvXTBzxhLtl5qYJSLBUV4P6PqWQa5Wg=}
2012-01-19 21:30:04, Info                  CSI    00000012 [SR] Repairing corrupted file [ml:520{260},l:46{23}]"\??\C:\Windows\System32"\[l:34{17}]"ExplorerFrame.dll" from store
2012-01-19 21:30:04, Info                  CSI    00000013 Repair results created:
POQ 1 starts:
     0: Move File: Source = [l:192{96}]"\SystemRoot\WinSxS\Temp\PendingRenames\d14ac56a1bd7cc01070000005c046804._0000000000000000.cdf-ms", Destination = [l:104{52}]"\SystemRoot\WinSxS\FileMaps\_0000000000000000.cdf-ms"
    1: Move File: Source = [l:162{81}]"\SystemRoot\WinSxS\Temp\PendingRenames\d14ac56a1bd7cc01080000005c046804.$$.cdf-ms", Destination = [l:74{37}]"\SystemRoot\WinSxS\FileMaps\$$.cdf-ms"
    2: Move File: Source = [l:214{107}]"\SystemRoot\WinSxS\Temp\PendingRenames\f26ecc6a1bd7cc01090000005c046804.$$_system32_21f9a9c4a2f8b514.cdf-ms", Destination = [l:126{63}]"\SystemRoot\WinSxS\FileMaps\$$_system32_21f9a9c4a2f8b514.cdf-ms"
    3: Hard Link File: Source = [l:256{128}]"\SystemRoot\WinSxS\amd64_microsoft-windows-explorerframe_31bf3856ad364e35_6.1.7601.17514_none_20a30ed28a70711b\ExplorerFrame.dll", Destination = [l:82{41}]"\??\C:\Windows\System32\ExplorerFrame.dll"

POQ 1 ends.
2012-01-19 21:30:04, Info                  CSI    00000014 [SR] Repair complete

Here is a stock screenshot of a unmodded ExplorerFrame.dll and a stock Base.msstyle:

(http://i.imgur.com/N5zBB.png)

Here is a ss of a changed Base.msstyle.  ONLY ICONTITLEFONT IS CHANGED.  ExplorerFrame.dll is still stock.

(http://i.imgur.com/aBO3r.png)

The top window is in Tiles View.  The lower is in Content View.

BRB. Going to edit uifile and reboot. Will be back with the final ss in a minute.

Ok.  Here is a ss of modded UI and the one font change to the msstyle in WSB.

(http://i.imgur.com/sfieG.png)

If you noticed I even set the font to "iconfont".  I'm having the same results as when I first posted... So now what?



Title: Re: Explorer screen font locations. Help please.
Post by: Dave Senior on January 20, 2012, 09:32:57 am
You can try this for explorer content view  but it  also changes the font for  the  text on the right of your picture.
Change:
Code: xml
UIItem background="argb(0,0,0,0)" contentalign="topleft"
To:
Code: xml
UIItem background="argb(0,0,0,0)" contentalign="topleft"  font="gtf(Listview, 6, 0,809)"
Font will be here:
Lists, Menus & Tabs > ListView > GroupHeader > BODYFONT:FONT

Note: Somewhere in windows the font  you want to change must  be coded to render a little larger than normal,maybe the "110%" that 3am mentioned,so set the font size to 4 or 5  to make it smaller than the "6" you are using for the other views.
         The only way you might take control of the specific  font  you want  is by going through the  UIFILE and adding the  font code to all the itemview locations and testing as you try each edit,even then you're not guaranteed to get a result.


Title: Re: Explorer screen font locations. Help please.
Post by: 3am on January 20, 2012, 03:18:14 pm
Seems your problem is your font. I don't know why but most fonts change size in those areas in content view. Including yours. I use a pixel font HaxrCorp 4088 that doesn't change size there...or anywhere actually. Why I don't know. I've included it as an attachment so you can download it and try it out. Other than that you could try to find another font that doesn't change size or just don't use content view :)