LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NXG string and numeric controls (in classic LabVIEW) don't line up

Solved!
Go to solution

Hi,

 

I have been playing around with the new "NXG" controls in LabVIEW 2018. Overall, I really like them - they have sort of a "system" look but still allow customization (whereas the downside of system controls is they can't be customized)

 

However, I have one issue. When I put a numeric next to a string control, the text does not line up. It looks like it is centered vertically on the numeric but not in the string. This makes the text 2 pixels off between the two, and it looks really weird.

 

Capture.PNG

 

Does anyone know of a way to fix this? Is it possible to set the vertical justification of text?

0 Kudos
Message 1 of 3
(2,519 Views)
Solution
Accepted by topic author prettypwnie

I never knew there was an NXG style of controls in classic LabVIEW. Looks like it must have been added in LV 2018. I'd say that is should be given a CAR# and fixed.

 

But one thing you could do is customize the control.   (Right click >> Advanced >> Customize).  If you click the wrench to get to the individual parts, you can pick the text part and the frame part and use the alignment tools to align them vertically on centers.

Message 2 of 3
(2,488 Views)

Thanks! I didn't think of just resizing the text part itself and moving it downward.

0 Kudos
Message 3 of 3
(2,476 Views)