LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make my texts fit perfectly in the subVI frame?

As you can see below, the letters are touching the top line of the box. Also GRCK and 5000 are touching each other. I tried changing the size, but the issue still remains. How do you solve this issue? Making texts fit in the box perfectly.

GRCK5000_0-1696651616266.png

 

0 Kudos
Message 1 of 5
(675 Views)

The two checkboxes below the text color will help with that.  There are also some arcane ways to control the placement by using horizontal lines, but I can't remember what they are.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 5
(639 Views)

Which version of LabVIEW are you using?

 

Have you tried "Small Fonts" ?

 

image.png

 

George Zou
Message 3 of 5
(602 Views)

@GRCK5000 wrote:

As you can see below, the letters are touching the top line of the box. Also GRCK and 5000 are touching each other. I tried changing the size, but the issue still remains. How do you solve this issue? Making texts fit in the box perfectly.

GRCK5000_0-1696651616266.png

 



Are you a real person?  Are you trying to "reverse-engineer" LabVIEW?  Why are you doing weird things with the LabVIEW Icon Editor?  What made you choose a "Font Alias" (which you can see doesn't pay attention to the Font Size entry, 0 in your example)?  What you are showing is not a "subVI frame", it is an outline for a VI Icon (since you are using the Icon Editor).

 

The "answer" to your question is to substitute "Small fonts" for the Font, "center" for alighment, and 9 or 10 (point) for the size.  Learn about the Icon Editor.  Learn LabVIEW.

 

Bob Schor

 

0 Kudos
Message 4 of 5
(600 Views)

On a side note, you don't even need to use the "icon text" tab. You can add free text anywhere on the "layers" tab.

(no limit to four lines and specific placement. You can set the font in the menu.)

 

Also note that your text is tinted and blurred because of cleartype interference *See below).

 

Nice text is not trivial with the limited number of pixels available. I've been know to write certain text pixel-by-pixel instead of using any text tools 😄 )

 

altenbach_0-1696693231274.png

 

 

*Almost everything is using clearytpe. If you take a screenshot of the icon editor and zoom in 600%, you can see that none of the text is true B&W, but tuned to the arrangement of the RGB pixels of your LCD monitor.

 

altenbach_0-1696694424821.png

 

Message 5 of 5
(581 Views)