LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Distorsion of elements when resizing

Hi,

I've created an application that has to be portable to other computers whir very large difference of monitor resolution.
I've noted that when the object in the front panel resizes, some of them distorted its dimensions (they no maintain the aspect ratio x/y).

Does anybody knoy any way to solve this problem?

Thanks
0 Kudos
Message 1 of 4
(2,584 Views)
Hi Miguel

On the menu bar go to File >> VI Properties... >> Under Category select "Window Size" then tick the "Maintain proportions of window for different monitor resolutions" box. Click OK.

Good Luck
Neil
0 Kudos
Message 2 of 4
(2,579 Views)
I know,

The problem is that in very large change of resolution, some controls, as boolean or text controls, does not respect the aspect ratio.
So on, some labels or captions of digital or text indicators change its relative position.

Thanks
0 Kudos
Message 3 of 4
(2,576 Views)
Hi Miguel

Another possibility, although it is more difficult, is to detect the monitor resolution using Open Application Reference together wired to a Property Node set to Display : All Monitors.
Then use these values to scale the sizes of your controls and indicators. Use property nodes to set the new sizes. You can also scale the captions and labels and alter positions. It's not elegant 😞 and the changes are not visible until the program runs 😞 but depending on the complexity of your GUI it may achieve what you need.

Good luck
Neil
Message 4 of 4
(2,569 Views)