LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labels cut off smaller screen size

I created an installer for an application. But some other users don't have the same screen size as the PC I created this application on, and some labels and characters are cut off on their screens, particularly if the screen size is small. I'm sure a solution is there for this problem. Can you help

0 Kudos
Message 1 of 4
(2,477 Views)

Thanks for posting on NI Discussion Forums!

 

Check out the following Knowledge Base article on resizing front panel objects with the window:

 

http://digital.ni.com/public.nsf/allkb/62A404CE3C368F20862572130077DC14?OpenDocument

 

For more customized control, consider using splitter bars:

 

http://www.ni.com/white-paper/3687/en

 

Good luck!

0 Kudos
Message 2 of 4
(2,452 Views)

I had already selected the option of resizing for Window appearance. But it seems this applies only to controls or indicators and not to text on the front panel. Will try the splitter if it works.

0 Kudos
Message 3 of 4
(2,449 Views)

Hello,

 

I've looked a little deeper into this for you, and have found some new information. Please take a look at the following document:

 

http://digital.ni.com/public.nsf/allkb/048C31D73E8EC91286256E440063E1BB

 

Under the Scaling all Objects heading, there is a note that text labels do not resize along with other front panel objects, because they're fixed. With that being said, it is still possible to programmatically find the front panel's size by accessing your VI's Front Panel>>Panel Bounds property. Then, you can set the size of you text labels programmatically by setting their Font property using a Property Node.

 

I hope this helps.

0 Kudos
Message 4 of 4
(2,433 Views)