LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control position issue with pane sizing

Hello, I have a vi with two panes using a pane splitter. One pane I would like to show and hide using a button (like a menu). The other pane contains a tab control with several graphs and buttons. When I don't enable Scale Object with Pane on the main graph, all other controls in all tabs remain in their original position when I move the splitter. When I enable it however, moving the splitter causes some buttons to move and others to stay fixed. Also not all buttons move the same distance...  So the problem is the graph, which is somehow linked to the position of the buttons, but I don't understand how.

 

I've attached a sample vi. Focus on page 2 and move the splitter around. You will see how the button movement is unpredictable.

 

I want to force some buttons to be fixed and others to move with the pane. How can I solve this?

0 Kudos
Message 1 of 2
(2,140 Views)

I agree it is strange. It seems to be the position of the buttons that determines whether or not they move. Is i possible to not use a tab control?  There is usually ways of achieving the desired effect. Tab controls are notorious for causing unexplainable phenomena.  The other option is to explicitly position the buttons (probably easily done in a loop using control references).

0 Kudos
Message 2 of 2
(2,067 Views)