ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Resize text in VI

I am designing a front panel in which some TEXT also there.

 

where my application runs in other computer my windown resizes but not my text. I read the help but it say text doesnt resize as its font is fixed.

 

Is there no way to resize the text as per window size? 

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 1 of 6
(3,235 Views)

Hi Ranjeet,

 

you can use property nodes to apply a different font/fontsize to your text depending on window size.

You just have to do some real programming! Thank God LabVIEW is a programming language… 🙂

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,212 Views)

thanks, I have attached my VI. Can you please elobrate. How can I resize as there is nothing in in block diagram

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 3 of 6
(3,206 Views)

Hi Ranjeet,

 

you should have mentioned "decorations" before!

 

You could get a reference on your decoration and you could change the size of the decoration, but that will not scale your font.

To do so you have to use a string indicator - I suggest to use the simple classic one as it is easiest to set to transparent…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(3,201 Views)

How can I get reference for my decoration? 

 

What I used is decoration?

--------------------------------------------------------------------------------------------------------
Kudos are always welcome if you got solution to some extent.

I need my difficulties because they are necessary to enjoy my success.
--Ranjeet
0 Kudos
Message 5 of 6
(3,194 Views)

Hi Ranjeet,

 

a free label is a decoration - like frames, lines, arrows too!

Guess why you find them all in the "decorations" palette…

 

How to get references:

FP_BD.png

(I use the German LV version, so "GestElem[]" is "Decorations[]".)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(3,191 Views)