01-20-2015 11:06 AM
Hello,
I am developing GUI that needs to look nice and user will have option to resize it. Since scale as the window property works bad I wanted to use panel resize event.
But there is delay - controll is resized some time after I resize front panel and that looks bad. When I look on project window or error list it resizes instantly.
Why I can't achieve that result in Labview??
I could always read panel size lets say every 10ms and calculate ontrolls size based on that, but is there better option using this panel resize event??
Solved! Go to Solution.
01-20-2015 11:16 AM
Right click on the pane (right click in the bottom right hand corner) and select the 'Scale objects while resizing' option.
That should fix it for you 🙂
01-20-2015 12:08 PM
Thanks, but I didn't see improvement. What exactly does that property, I culdn't find in property nodes..
It seems that unchcking Lock Panel in event structure made it.
01-20-2015 12:27 PM
It should be more or less obvious what that setting does when it is used. If you set a control to fit to the pane, and then resize that pane, it doesn't wait for the mouse up to start the resize, it will resize it for every pixel movement of the mouse.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord