LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panel resize delay

Solved!
Go to solution

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??

0 Kudos
Message 1 of 4
(3,068 Views)

Right click on the pane (right click in the bottom right hand corner) and select the 'Scale objects while resizing' option.

2015-01-20_17-15-49.png

 

That should fix it for you 🙂


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 2 of 4
(3,063 Views)

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.

 

0 Kudos
Message 3 of 4
(3,047 Views)
Solution
Accepted by topic author pawel.ostrogorski

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.

0 Kudos
Message 4 of 4
(3,041 Views)