LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Align caption label on top of control programmatically

Solved!
Go to solution

Hello to all,

First of all thanks a lot for reading this post and being able to help me.

 

I have this control in the front panel:

captura.PNG

 

Now I change programatically the caption name to:

captura.PNG

 

As you can see, the caption isn't aligned on top of control. So I would like to change the name programatically and then change the position programatically to get this:

captura.PNG

 

How can I do that?

 

Thanks a lot to everyone.

 

0 Kudos
Message 1 of 3
(2,422 Views)
Solution
Accepted by topic author Alvaro.S

Make sure the caption is originally centered on the control AND caption font is set to "justification=centered" and things will fall into place

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

Thanks a lot friend!!

It works

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