LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I make sure the text size on front panel will be adjusted by itself from PC to PC?

In my VIs under VI Properties -- Window Size, I checked the two boxes:

 --Maintain proportions of window for different monitor resolutions

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

 

It seems that it worked for everything on front panel except the pure text wording that I put there for instruction purpose.  The size of those text stuff didn't get changed proportionally after my application was built and run on different machines so some of them got cut off and looked messy.

 

Does anyone know how to fix this problem?

 

Thanks very much!

0 Kudos
Message 1 of 5
(2,499 Views)

Hi djfasd,

 

What operating system(s) are you developing/deploying in? Also, I'm assuming you are talking about executables since you mentioned the application builder. If so, this KB article might be of help.

 

Why Does the Font Size Change When Running a LabVIEW Executable in Windows?

 

Let me know if your issue is a bit different. If so, please provide us with more details. Thanks!

 

Andrew S.

 

Application Engineering Specialist
National Instruments
0 Kudos
Message 2 of 5
(2,471 Views)

Hi Andrew,

 

Thank you for looking at my problem!

 

Both my development system and test system are Window XP. The font size are all set to Normal. What other details do you need to know?

 

The text on front panel shows well on my development machine. But when the .exe runs on my test machine, the text size was not adjusted by itself so the text body got cut off.

 

I found a way to "fix" this problem: I had to drag the text box down and right so there is enough magin between the text body and the box on the right and at the bottom. I had to try it a few times until it finally shows well on my test machine. However, with those magins, it doesn't look nice on my development machine anymore. Also, I only tried on one test machine, if it looks good on one test machine, will it look good on all the other machines? Eventually my app is going to run on Window 7. I'll have to test that out and find out if it's still going to be a problem. Anyway, I don't feel this is the right way to do it. I hope someone knows what I'm talking about and have a soluction to it.

 

Thanks very much!

0 Kudos
Message 3 of 5
(2,459 Views)

There is no automatic way to resize the text, especially on free labels, which is what you seem to be referring to. See http://forums.ni.com/t5/LabVIEW/i-want-to-scale-the-font-size-programmatically-according-to-the/m-p/... for options. 

Message 4 of 5
(2,454 Views)

Thank you for your reply! The link you gave me did provide some useful information related to my problem. Thanks very much!

 

Regards.

 

 

0 Kudos
Message 5 of 5
(2,437 Views)