LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Frontpanel resizing / Splitter repositioning

Solved!
Go to solution

Hello LV World,

 

I tried with a simple test VI to set the positions of splitters so that they keep their reference postion while the frontpanel size changes.

It works "so far" when the Panel size in modified, but with very bad Performance. And there's a strange behaviours while using the maximize button.... 

 

Probably I'm doing very wrong, if someone has good idea please let me know...Thanks in advance!!

 

The VI in the annex is done with LV2015

 

0 Kudos
Message 1 of 5
(2,902 Views)
Solution
Accepted by topic author _EMG_

Hi EMG,

 

have you tried to enable the automatic splitter sizing?

When I set the vertical splitters to "size proportionally" they all move nicely when I resize the window. No need to fiddle with several property nodes!

 

(Your example is flawed: I got several error messages when resizing because of invalid splitter positions…)

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 5
(2,899 Views)

Hi GerdW,

 

thanks for your pretty fast answer.

You're rigth, another point is that the VI reports several Errors with invalid splitter positon. Right now I ingnored that (have to take care later on of cause).

 

Where can I set the "size proportinally" Option at spillters!?

 

Kind regards!

0 Kudos
Message 3 of 5
(2,897 Views)

.....I got it....hidden in the menue......Smiley Surprised

 

Thanks!!Smiley Happy

0 Kudos
Message 4 of 5
(2,875 Views)

Right-click splitter -> Splitter Sizing -> Splitter Sizes Proportionally.

 

You might also want to check Scale Object While Resizing for each pane, so the front panel controls inside the pane don't suddenly change size. Right-click the splitter -> Left/Right Pane -> Pane Sizing -> Scale Object While Resizing.




Certified LabVIEW Architect
Unless otherwise stated, all code snippets and examples provided
by me are "as is", and are free to use and modify without attribution.
0 Kudos
Message 5 of 5
(2,870 Views)