03-11-2014 02:44 PM
I built a program and transferred it to a coworker to test. When he opened it, there were several visual glitches including boolean button text and multiple y axis plot issues. After several hours of troubleshooting, I realized it was because I had my graphics settings on my desktop slightly different.
If you right click (Windows 7) on desktop -> personalize -> display, you will see an option to "Make it easier to read what's on your screen". Default in Win 7 is 125%. This sets LabVIEW application font to 20 instead of 15 (like 100% and 150%) do. As a result, it changes the look of your application.
Has this been observed before, and is there a fix? note: It also causes visual glitches on within LabVIEW development UI itself. If you look at the "Med (125%)" attached png, you will see that the bottom of Application Font" has been chopped off.
03-11-2014 02:53 PM
Hi Bowen,
I can't open your pics, all I get is an error 400…
Your problem is a common one. Changing display settings in Windows has an impact on LabVIEW front panels due to changing font sizes. You have to live with it or you have to account for when designing your front panel!
03-11-2014 03:16 PM
@GerdW wrote:
Hi Bowen,
You have to live with it or you have to account for when designing your front panel!
How frustrating. It puts extra arbitrary limits on my GUI design simply based on what graphics settings a user may have selected. Wonder if they fixed it for 2014...
03-11-2014 03:27 PM
I can guarantee that it won't be fixed anytime soon.
The fix is that instead of using the Windows fonts for your application (system, dialog, application fonts) use a hard coded font such as Arial 13 or something like that.
You can also add lines to your LabVIEW.ini file (and your application's .ini file if you build it into and .exe) that says the fonts are using a specific font rather than the windows system defined fonts.
Search the forums for Win7 XP fonts and you'll find several threads that talk about this.