LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows 7 display 125%

Solved!
Go to solution

Hi,

 

Windows 7 has a feature - right click desktop -> personalize -> display.

 

If you set it to 125% or 150% it seems to mess up the carefully laid out front panel on other PCs (seems to be the case on laptops).  Does anyone know how to override this?

 

Thanks,

0 Kudos
Message 1 of 9
(3,984 Views)

Use defined fonts instead of symbolic fonts (e.g. "application font").

0 Kudos
Message 2 of 9
(3,974 Views)

To be clear:

Options -> Environments ?

 

and change "Application Font" (for example) from Font: "Application" to e.g. Font: "Arial" and that fixes it?

0 Kudos
Message 3 of 9
(3,967 Views)

Yes.

 

"Application Font" and "System Font" ask the OS what its preferences are and applies them  (Even if some goof-ball system-wide setting picks some "Non-Standard" font and / or size.)


"Should be" isn't "Is" -Jay
0 Kudos
Message 4 of 9
(3,958 Views)

Alright, thanks.

0 Kudos
Message 5 of 9
(3,952 Views)

No, sorry guys, this is not it, or at least assuming I have interpreted as you meant it.

 

If I do as suggested above, it changes the LabVIEW settings for my computer but when I create the install file and put it somewhere else, it does not carry through - well, at least changing the display to 125% still messes up the front panel.  To be fair, I have not tried it on this machine yet as that involves logging off.

 

I am sure there is an option somewhere but it is often a case of finding it.

 

To be clear:  I need to be able to create an installation build that uses fonts that windows cannot scale up when installed on a different computer.  It must not require the user to do anything but double-click on the setup install file.

 

 

Message 6 of 9
(3,937 Views)
Solution
Accepted by James_AC

You need to put the font size settings into the INI file for your executable.

See here.

 

 

0 Kudos
Message 7 of 9
(3,922 Views)

Thanks, have not had a chance to try this out yet.  I will update when I do.

0 Kudos
Message 8 of 9
(3,854 Views)

Thanks MIG,


This seems to solve it.  I am not quite sure I follow exactly what Windows 7 is doing but the 'scaling' function appears to maybe not scale the window the same amount as the font (?!).  I am not going to dig too much into it, suffice to say when I used the fonts as recommended in the thread you pointed to:

FPFont="Tahoma" 13
BDFont="Tahoma" 13
appFont="Tahoma" 13
dialogFont="Tahoma" 13
systemFont="Tahoma" 13

 

I can scale it to 125% and 150% and everything stays neat and in place.

Message 9 of 9
(3,824 Views)