LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Default numeric justification option?

I have a bit of the OCD and like to have my numbers in the center of the control/indicator.  Is there a default option for this?

 

I read a few posts that talk about creating a custom controls and putting them in the user controls palette.

 

But I fear it is in the same category as having a "," to separate thousands (1,000) option.  And yes I have made vi's for comma separators just so I would feel better.

0 Kudos
Message 1 of 7
(3,133 Views)

Use the Justify selection under the Application Font drop down menu as shown:

 

Justify.PNG

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 7
(3,130 Views)

That is how I currently justify to center.  I know I can also use a property node.

 

Currently when I create a control/indicator the default justification is left.  When I create a control/indicator I want the default justification to be center.  Not have it default left and have to change it to center.

 

There has to be an option or ini file that says the default is left, because it is always created with left justification. 

0 Kudos
Message 3 of 7
(3,125 Views)

I didn't see any ini setting for this.  Maybe some NI guru can chip in.

 

- tbob

Inventor of the WORM Global
0 Kudos
Message 4 of 7
(3,119 Views)

This is something I have wanted for a long time, although I prefer right justification for numerics.  You might add it to the Idea Exchange or check to see if something similar is already there.

 

Lynn 

0 Kudos
Message 5 of 7
(3,090 Views)

This is something that is not currently available. If you look at the LabVIEW Help file for the Font Style Dialog Box, available in Tools>>Options>>Enviroment>>Fonts Font Style, this would be where you would do this, but the help file explicitly states that it is not available.

 

I would suggest it in the idea exchange, and/or file a product suggestion for the idea.

 

Regards,

Stephen S.

National Instruments
Applications Engineering
0 Kudos
Message 6 of 7
(3,076 Views)

Thanks for the response Stephen.  I looked into Justification.pngthe option page you talked about and was surprised to see the option is there but it is disabled.  I did put in a product suggestion and will look into the idea exchange later.  In my suggestion I also noted that it would be nice to have control over the different types of indicators.  That way I could have numbers be centered and have text still justified left.

 

Message 7 of 7
(3,061 Views)