ni.com checkout is currently experiencing issues.

Support teams are actively working on the resolution.

LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
PNR

QD plugin Arrange VI Window should respect Window Run-Time Position

Status: New

Arrange VI Window (Ctrl+Space, Ctrl+F), when applied on the Front Panel, aligns controls that are connected to the terminal. Any control that is not connected to the terminal is relocated below controls that are connected to the terminal.

 

Unfortunately this plugin doesn't take Window Run-Time Position into account, which can produce undesirable results. As an example, here is a screenshot of a VI before and after using the shortcut:

 

Before

Before.png

 

After

After.png

 

I think it is reasonable to expect the content area to stay untouched during this operation. What I would expect is something like this (error terminals were added to emphasize):

 

Expected.png

 

1) Any control inside the bounding box of Window Run-Time Position should stay untouched

2) If the bounding box is visible, offset origin by a few pixels to keep it visible after arranging controls

3) VIs without Window Run-Time Position should behave like before

 

Find attached a version of this plugin that produces the output above. I think this behavior should be supported by the version that ships with LabVIEW. I am also curious to know if anybody uses the shortcut to align controls that are visible at runtime (and why).

1 Comment
Darren
Proven Zealot

The plugin is intended for use on non-UI VIs (since those are the ones that, more often than not, you want to have panels match connector panes). We decided during feature development not to prioritize its UX when used on UI VIs. If this idea acquires more kudos we'll revisit that decision. Thanks for the feedback.