LabVIEW Idea Exchange

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

Size to Contents feature for BD constants.

Status: Completed

Available in LabVIEW 2015 and later

Block diagram string constants have a useful feature "Size to text" which is accessible through the standard right click menu.  One way in which this is useful is to ensure that information in an array of constants is not hidden: Right click on an element of a string-constant array and select "Size to text" and it will expand to show the full length of all the strings it contains.

 

What's needed is an equivalent for numerics (including rings and enums).  When dropped singly, these constants expand and shrink around their contents.  But if you drop a numeric constant on an array constant, it takes the size of the numeric and can only be expanded manually.  If you then enter a constant that is longer, only the first part will be shown, and there is no indication that the values are truncated.  (see image)

 

I think that arrays of numeric constants should resize to show everything entered, automatically.

 

16985i3AA6C5F1591D73F6

-Barrett
CLD
11 Comments
Michael_Wise
Member

There seems to be a bug in the current behavior of "Resize to Widest Element" when the array is inside of a typedef.  Also, would it be possible to get the same functionality on a cluster?  Clusters of #s will often get shrunk down real small and are a pain to resize to be visible as well.