LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with user interface in genrated executable

I have generated an executable and an installer using LabView v8 and it works without problem. But when I change the screen resolution or install the program in to other PC which is having different resolution then I see that not all objects in the panel was resized according to changed resolution. Problem is happening especially for the texts. In the vi properties I have set the resizing option for screen rosultion already. I am looking forward to receive an answer.

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

The answer is simple - automatic resizing doesn't work perfectly, so don't use it at runtime.

If you want to do moving and resizing of some elements as you change the panel size, you can set only a single object to scale (in the edit menu) and the others will be moved in relation to it.

You can also set all of your texts to the application font and then change it in the application's ini file (e.g. appfont="Arial" 24), but that only takes effect on restart.


___________________
Try to take over the world!
Message 2 of 4
(2,795 Views)
Thanks for the answer. That means one can not keep the panel size proportions same for different monitor resolutions for an executable. 

0 Kudos
Message 3 of 4
(2,781 Views)
I don't if can not would be the right term, as I don't have too much experience with this, but resizing fonts is a problem. BTW, Windows doesn't resize fonts either when you change resolution.

___________________
Try to take over the world!
0 Kudos
Message 4 of 4
(2,770 Views)