NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

terminate button text centering

I resolved this issue (so I thought) a number of months ago.  Then I resized the screen a bit, and I'm seeing issues where my button text doesn't seem to want to obey my property settings (at least not completely).  Hopefully this supplemental info will help describe the situation.
0 Kudos
Message 1 of 3
(2,939 Views)
I found that if I made the button larger, and no word wrap occurs, the middle center works fine.  However, I'm hoping to be able to have the word 'Terminate' above 'Execution' - two separate lines, but on the same button.
0 Kudos
Message 2 of 3
(2,927 Views)

Hello mrbean,

 

The best way that I have found to accomplish your desired formatting is to include the necessary number of blank spaces before both of the words terminate and execution.  I was able to determine the number of each of these spaces at design time by simply typing in the appropriate field in the Property Browser.  Then, I took note of this information (i.e. number of spaces) for use when programmatically changing the text from "Reset".  I know this is not ideal, but at least it represents a feasible work around.

 

Thanks,

 

 

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