LabVIEW Idea Exchange

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

Create Constant - Label causes resize of structure when plenty of whitespace is available

Status: New

When you create a constant on the diagram from an object with a name, often the new constant's label runs into the enveloping structure's border, causing the structure to resize.  This process is quite dumb, as even if there is lots of room around the constant, LabVIEW insists on forcing a resize due to the collision.  Since the space is there, surely the routine could recognize that and only force a resize if there is not enough space.

in the example, the control was against the LHS of the loop; after creating the constant, I moved it down for vertical clearance, then made the label visible.  The label forced the loop resize to the left, ignoring the space to the right.

 

structure resize image.png

11 Comments
Manzolli
Active Participant

Maybe this idea can be spiced up with a keyboard control to set the text's justification:

 

[Shift+Left] = Left Justify

[Shift+Down] = Center Justify

[Shift+Right] = Right Justify

 

These keys shortcuts are already used to move objects faster. I believe that the environment can handle both cases checking if a text is being edited. If not, just use another key combination.

With these two working together most of simple cases are covered. Other cases should be solved by the user.

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil