09-19-2012 09:24 AM
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
09-20-2012 03:49 PM
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!
09-20-2012 04:04 PM
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.
09-21-2012 05:10 PM
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.