From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to vertical center alignment for any string or combo box

Hi,

 

Is it possible to align text in string / combo box vertically which is easily possible in other languages.

Font style Selects the horizontal text justification (Left, Center, Right).

Is there any way to justify vertically center ?

Message 1 of 4
(3,899 Views)

Try This.

String-Center.png

 

 

Help the Community (and future reviewers) by marking posts as follows:
If it helped - KUDOS
If it answers the issue - SOLUTION
0 Kudos
Message 2 of 4
(3,883 Views)

@Minions wrote:

Try This.

String-Center.png

 

Thanks but it is for horizontal center alignment. I need to have vertical text alignment.


 

0 Kudos
Message 3 of 4
(3,872 Views)

You cannot do it. See this post:

 

https://forums.ni.com/t5/UI-Interest-Group-Discussions/How-do-I-Vertically-Center-Text-in-a-Control/...

 

It links to an Idea Exchange idea here:

https://forums.ni.com/t5/LabVIEW-Idea-Exchange/Add-vertical-center-for-string-indicators-and-don-t-d...

 

which has neither been accepted nor implemented. There are a few workaround ideas in those threads.

0 Kudos
Message 4 of 4
(3,842 Views)