LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Are there tricks to get text to scale properly when the screen resolution is changed?

Developing on hi-res system, target is a 800x600 LCD. Graphocs seems to scale ok, but text (arial) grows in size. What do I need to do?
0 Kudos
Message 1 of 6
(3,704 Views)
Sweep-

Try two settings under File -> VI Properties -> Window Size Category ->

1. Maintain Proportions of Window for Different Monitor Resolutions

2. Scale all objects on panel as the window resizes.

Try these settings, they should help.

good luck-
ben schulte
national instruments
0 Kudos
Message 2 of 6
(3,704 Views)
This doesn't resize the FONTS, just the control's dimensions. (At least in my experience... Am I missing something?)
0 Kudos
Message 3 of 6
(3,704 Views)
With LabVIEW 5.1 it is very tricky. There is an example at
http://cybertechs.qc.ca/~jpdrolet/labview/panelresise.zip

In LabVIEW 6 you can programmatically change some fonts
using text property nodes.

Jean-Pierre Drolet
Scientech R&D

"citizenDAK" a écrit dans le message news:
5065000000050000001B2B0000-986697009000@quiq.com...
> This doesn't resize the FONTS, just the control's dimensions. (At
> least in my experience... Am I missing something?)


LabVIEW, C'est LabVIEW

0 Kudos
Message 4 of 6
(3,704 Views)
correct URL is:

http://cybertechs.qc.ca/~jpdrolet/labview/panelresize.zip



"Jean-Pierre Drolet" a écrit dans le message
news: 3b14eb30@newsgroups....
>
> With LabVIEW 5.1 it is very tricky. There is an example at
> http://cybertechs.qc.ca/~jpdrolet/labview/panelresise.zip
>
> In LabVIEW 6 you can programmatically change some fonts
> using text property nodes.
>
> Jean-Pierre Drolet
> Scientech R&D
>
> "citizenDAK" a écrit dans le message news:
> 5065000000050000001B2B0000-986697009000@quiq.com...
> > This doesn't resize the FONTS, just the control's dimensions. (At
> > least in my experience... Am I missing something?)
>
>


LabVIEW, C'est LabVIEW

0 Kudos
Message 5 of 6
(3,704 Views)
All text-objects have a font defined by for example "Application Font". Therefore it will keep the stored fontsize in pixels when you change the monitor resolution or resize your front panel.

So if you want to change the size of the used fonts, go to Tools/Options.../Fonts and change the desired font. Notice that you have to restart LabVIEW to see the changes. This is because the information has been appended to the LabVIEW.ini file. This means that you can get the same effect by simply adding the line (for example: appFont="0" 20) by hand.

Good luck!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 6 of 6
(3,704 Views)