ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Vertically justify text in String Indicator

Hello, I saw a post on this question that was baout 3 years old and was wondering if there had been any changes made.

I am trying ot center justify, vertically, some text in a string indicator.  It defaults to the top of the indicator, or I can get it to go to the bottom, but i cant get it to float in the middle.  Is there any way to do this yet?

Thanks.
0 Kudos
Message 1 of 5
(3,833 Views)
No insofar as I've seen. In addition to the picture control suggested in the 3-year old thread you could use 2 string indicators. One just acts as a background.  This doesn't actually have to be a string indicator - it can be anything to provide a background. The other is a transparent string indicator that you just move programmatically so it's centered vertically on the control acting as the background.
0 Kudos
Message 2 of 5
(3,825 Views)
Ok, thanks.  I will see what I can figure out.  You would think that they would have a solution for something this simple after 8+ versions of this software.
0 Kudos
Message 3 of 5
(3,820 Views)
Would suggest submitting it to the Product Suggestion Center.
0 Kudos
Message 4 of 5
(3,811 Views)
I've done this in the past by using a classic tab control as the background. Since it's a container, the string is moved with it. If you want to use this in more than one place, you can try turning it into an XControl.

___________________
Try to take over the world!
0 Kudos
Message 5 of 5
(3,782 Views)