LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
cy...

Adaptive alignment for subdiagram label

Status: New

hi forum

 

always find it difficult to read the subdiagram label whenever the structure exceeded 2 screen widths (when avoiding stacked sequences). Can we have subdiagram labels that will always be visible, like its text will center itself within the subdiagram label portion that is within the viewable workspace, or left adjusted when the label text length exceeded the subdiagram label space.

CY (expired CLAD)
7 Comments
AristosQueue (NI)
NI Employee (retired)

Note to readers: Cy's issue is specifically with Flat Sequence structures, where each frame may fit within a screen, but a particular frame may be scrolled such that it bridges monitors. Cy would like the alignment of the subdiagram label to shift to put the contents of the label entirely on one monitor or the other. Cy clarified this in other forum discussions.

cy...
Active Participant

additional info: the idea applies for structure sublabels, not limited to flat sequence. as long as the structure is partially in view and the sublabel is obstructed, the sublabel should float and realign itself within the viewable space within the structure. in case of multiple monitors, if the sublabel is not obstructed, it should remain as is, since it is readable.

 

*note: obstructed from BD level, not the floating windows atop the BD window

CY (expired CLAD)
wiebe@CARYA
Knight of NI

How would this deal with lengthy text?

 

If a text is so long it doesn't fit the screen, should it be truncated? Changes are it won't fit the height of the label, and will (still) be unreadable.

wiebe@CARYA
Knight of NI

Also, if this is useful, wouldn't it also be useful o apply to smaller diagram sizes?

 

For instance, should the text be left aligned when the diagram window is smaller than the entire screen, and only showing the left side of the structure?

Adaptive Alignment of Subpanel Labels.PNG

cy...
Active Participant

option for truncate, wrap (multiline), or the bottom left >> symbol? since it is already floating, expanding (left click) or minimizing (mouse leave) per user interaction can still make it minimally readable without having to scroll to the sublabel. 

CY (expired CLAD)
cy...
Active Participant

@wiebe a picture speaks a thousand words... gave you a kudo 

 

do you have a floating truncated, wrapped or condensed (with bottom left arrow) sample picture over some functions? floating sublabels will not disturb the nicely drawn underlying BD, but just to improve readability 

CY (expired CLAD)
wiebe@CARYA
Knight of NI

I'm thinking a tipstrip showing the label would work well?

 

Tipstrip.PNG

 

I'm not sure why diagram objects have descriptions and tips if they don't show anywhere...

 

It won't be visible immediately (you'll have to hoover over it), but it would avoid a few problems.