LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
EricC.

Having a better function for adjustment control to VI size

Status: New

The resizing function calculates the new position of controls based on the previous position.
But the position is an integer. So the calculation is rounded. If you resize several times a VI, rounding errors occur and position control shifts.
This is particularly true for complex controls (like a graph) that have been modified

Solution
Using the resolution of VI and position controls registered at the creation of VI and calculate the coefficient of expansion / displacement from these values.

 

Ingénieur d'Application / Développeur LabVIEW Certifié (CLD)
Application Engineer / LabVIEW Certified Developer (CLD)
1 Comment
JackDunaway
Trusted Enthusiast
I have noticed the same behavior of controls inside XControls incorrectly scaled back down when the XControl bounds are increased/decreased on the parent VI Front Panel.