LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Icon Template - Text Lines won't center vertically - LV21

Solved!
Go to solution

Here's an example of my "Parallel Loop" Icon, and how it looks when you post-modify it by adding the extra line at the bottom to make it look like a 2-pixel-wide "While-like" icon.

BS Loop Icon.pngTHmm,  these are a little small.  The first is the actual Icon ("almost a While Loop" with a yellow background), showing a three-line Text entry to identify the VI in words, while the second shows adding the extra line at the bottom edge.  Now, I haven't tested with (say) LabVIEW 2024 whether creating an Icon that looks like the double-thick outline allowing text in the middle by identifying the "largest blank area" for the up-to-4 lines of text.

 

LOOP Host.png

 

 This is the .PNG file that I moved into LabVIEW Data\Icon Templates\BS Icons\Loop Host.  "Host" refers to VIs and their icons that are in the Top-Level VIs and their sub-VIs -- I have a similar set of Icons that I use for RT Targets that are filled with light-blue, and called "Loop Target".

 

Bob Schor

0 Kudos
Message 21 of 25
(149 Views)
Solution
Accepted by Bob_Schor

Bob - I was not able to replicate the issue you described with the double lines. I saved off a new version of your icon with the extra line at the bottom and used that as a template. The text centered fine in LV2018 and LV2024

adamhopkins_0-1735825706635.png

 

0 Kudos
Message 22 of 25
(131 Views)

Hello, Adam Hopkins!

 

I've been living with this "annoying feature" (which I'm pretty sure is still present in LabVIEW 2019, the oldest version I'm still using) that I never checked to see if it had been rectified!

 

So you get the Solution for telling me "See if NI or your LabVIEW colleagues fixed this issue, dummy!".

 

Thanks!

 

Bob Schor

0 Kudos
Message 23 of 25
(116 Views)

Just successfully "repaired" my Loop Template(s) to have double-thick lines on the borders, and they work back as far as LabVIEW 2019 (which is the oldest version of LabVIEW I currently have installed).  I'm guessing that this was fixed at some point after LabVIEW 2017 (which used to be my oldest version), and I carelessly didn't notice that it had been fixed, and I could "repair" my templates by adding back the missing second horizontal line at the bottom.  You can teach an Old Dog New Tricks!

 

Bob ("Loopy") Schor

0 Kudos
Message 24 of 25
(106 Views)

Hello Bob,

 

thank you for reminding me to the channel wires again.

 

Greets, Dave
0 Kudos
Message 25 of 25
(84 Views)