LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple Panes and Resizing

Solved!
Go to solution

Folks - I have 9 plots on a front panel window. I want to allow the user to be able to pull any corner of the window and have the plots resize proportionally.  I have created 2 horizontal panes and 6 vertical panes in order to have 9 containers, one for each plot.   I have checked 'fit control to pane' for all 9 plots.Only the right-most column and bottom-most row resize, and not proportionally.  Just wanted to know if there is something I am missing that would make this doable.

 

Thanks,

 

Don

0 Kudos
Message 1 of 5
(2,767 Views)

Hello Don,
I've been playing around with a few things.  I have not found a simple way to accomplish what you described - this is based on the assumption that you want the other panes to "move out of the way" as you expand one of the charts.  Getting one of the charts to expand proportionally is just a matter of holding down the shift key while you drag out one of the chart's corners.  Unfortunately, the chart will either grow and cover-up the other charts (which will hurt performance), or the pane will not grow with the expanding chart.
I suspect something may be done with XControls, but the amount of effort required may significantly outweigh the benefit. 

 

I will spend a little more time poking around to see what some other options may be for you.  How critical is it that all of the charts remain visible at all times?


Best regards. 

Matthew H.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(2,737 Views)

What we want is that when we pull or push on any corner of the front panel window, all nine of the plots resize in exactly the same fashion proportionally.

 

Thanks,

 

Don

0 Kudos
Message 3 of 5
(2,733 Views)
Solution
Accepted by DonRoth

I dont htink panels can be resized programmatically while the program is running. What you can do is to create the display you want on a single pane, then right-click in the scroll bar area and select: pane sizing --> and check  scale all objects with pane, also check scale all objects while resizing.

 

Ben64

Message 4 of 5
(2,729 Views)

Awesome - I knew it had to be something reasonable.  Thanks so much.

 

Sincerely,

 

Don

0 Kudos
Message 5 of 5
(2,723 Views)