LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Scale all objects on the front panel as the window resizes"

This function under VI properties >> Window size, should resize my application when it's running on a screen with lower resolution, right?
 
But I have some problems, it resizes object such as leds, meters, pictures etc. but all text remain the same size. This is not looking good on the screen.... How can I solve the problem?
 
I need the application to fit the screen, even on screens with lower resolution
 
Thanx
Christian
(running LV 8.0)
0 Kudos
Message 1 of 2
(2,758 Views)
I have always had issues with the scaling feature when a window resizes in labview.  If you are only disappointed with the text since the font does not resize, you can programatically resize all fonts.  Use a resize event, get the controls[] property from the the reference, and feed this to a for loop.  Inside the loop you should be able to change the font size.  I usually dont allow for resizing of my front pannel for this reason.  There might be a better method (I am assuming yu have set the scale and maintain with monitor resolutions to true under the vi props) but I havent had my coffee yet.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 2
(2,753 Views)