LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Center justify text in a String Indicator

This should be easy. I created a Property Node but I can't find a Justify
option under Properties.
0 Kudos
Message 1 of 15
(12,195 Views)
If you don't have to do it programatically, you can click on the indicator (during development) and then select the drop down menu where you select your font and choose justify->center.
Message 2 of 15
(12,195 Views)

Hi,

I use this thread to ask my question, is there a way to center vertically the text in a string indicator ?

Thanks 

0 Kudos
Message 3 of 15
(11,825 Views)

Hi prb,

 

string control-> create property node->text->justification Smiley Wink

Message Edited by GerdW on 11-04-2009 02:43 PM
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 15
(11,816 Views)

Hi GerdW,

 

I hope for prb than is solved is problem since 05-20-2001 🙂

 

I took this thread because my problem is quite the same but I need a vertical centering.

I read on other posts than it wasn't possible (at least in 2007) but maybe now it has been implemented by NI ?

 

Thanks 

 

0 Kudos
Message 5 of 15
(11,809 Views)

Well, I tried a bit to allign vertically. But did not succeed  :smileysad:

 

But, i could make my string indicator transperent and place an string indicator like object behind the text box. to make it look like vertically center.  :smileyvery-happy:

0 Kudos
Message 6 of 15
(11,802 Views)

Isn't it another easier option ?

Like text properties - vertical alignment 😉 

0 Kudos
Message 7 of 15
(11,797 Views)

Hi remvu,

 

that happens if someone is entering a 8 years old thread to ask something completely different Smiley Wink (I didn't notice the OP date, just yours...)

 

No, there is no vertical centering for string indicators in LabView... Either make it a one-line indicator (no centering needed) or go the way mentioned before. Or: use a picture indicator and "draw" the text in there Smiley Wink

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 8 of 15
(11,776 Views)

The text I need to display can be one line or 2,3,4 lines.

Maybe a solution is to add carriage return before the string in function of the number of charaters in the string and the place that I have in my display...

Mhh I will try that.

 

0 Kudos
Message 9 of 15
(11,755 Views)
Then you may be insterested in Kudoing the Add vertical center for string indicators (and don't disable scrollbars on disabled indicators) idea in the LabVIEW Idea Exchange.
Message 10 of 15
(11,751 Views)