From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Idea Exchange

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

Wire Label Text should be Center Justify

Status: New

Hi to document my VI BD I use more and more the Wire Label. 

 

When we Make it visible:

WireLabelVisible.jpg

 

The beginig of the entry is centred to the wire:

 

WireLabelStartEdit.jpg

 

But one problem with it is when we type text, the text is Left Justify:

 

WireLabelLeftJustify.jpg

 

So I propose that the default alignment for the text should be Center Justify:

 

WireLabelCenterJustify.jpg

 

Thank you

 

LabVIEW ChampionArchitect
3 Comments
sbus
Member

I for one don't like this - I'd rather the label appear using the mouse as an insertion point. For a long wire the label might appear completely off screen.

 

This would be good if the wire length were some maximum length. I could see a LabVIEW property "MaxWireLenToCenterLabel" which might be set initially at, say 400 px (approximately 1/4 of a 1280x1024 screen...). The user could change it; if it were set to 0 that might mean "regardless of length", giving us both what we want.

RavensFan
Knight of NI

I don't think the idea is talking about putting the label at the center of the wire.  It is talking about the justification of the label itself at the particular point that was picked to insert it.  Center justification causes the label to grow left and right as letters are added.  The left justification means it will grow only to the right.  It doesn't matter whether the insertion point is the exact center of the wire or somewhere else.

Mads
Active Participant

I always expect the default behaviour to be left justify, that's why I'm really annoyed by the centered behaviour in the icon editor. When the text is centered it is much more difficult to know how it will align with the rest of the icon.

 

Ironically, in this case I agree with you that the text should be centered...as the center-point in this particular point makes the text balanced equally on the wire, and feels like the best reference for knowing whether you will be able to squeeze your text into the available space.

 

The optimal outcome of this idea would be that the behaviour is swapped, we get centered on the wire, and left in the Icon Editor...But the most consistent behaviour would be to always go left 🙂