01-21-2011 12:07 PM
It seems like you could have done this is LV 7.1 as referenced by this article:
http://digital.ni.com/public.nsf/allkb/AFCA584E0A70774586256E970052AFC3
However, I also found that in 8.5 you apparently cannot resize the height of the indicator/control... as they may have gotten rid of the numeric text property node.
Any ideas if this is possible? Thanks.
Erik
Solved! Go to Solution.
01-21-2011 12:12 PM
Here's the reference to the 8.5 manual...
http://zone.ni.com/reference/en-XX/help/371361D-01/lvpage/18properties/
01-21-2011 03:46 PM
I figured this out, the property node spoken of by the 7.1 guide is visible only on the front panel when right clicking on the element itself (and not the entirety of the control).
08-30-2019 02:40 PM
In 2019, this property is again not available.
I can't speak to other versions from the past 10 years.
It shows up in the property menu, but "height" is grayed out and disabled.
08-30-2019 04:06 PM
The height of a numeric control indicator is determined by the font size you used for that control or indicator. It is not independently settable.
08-30-2019 04:23 PM
That doesn't seem to be exactly right.
In my application, I have an array of 10 numeric controls in a vertical stack.
Each has an attached "increment/decrement".
To the right, I have an array of 10 numeric indicators in a vertical stack.
Both arrays are (currently) in a 16 point font.
No matter what I do, I can't get them to space identically to each other so that they exist exactly side by side. You can see in this screenshot that while the tops of the arrays are perfectly aligned, the bottoms are not.
It's clearly the "increment" that's adjusting the height of the controls to make them taller than the indicators, despite having the same font size.
When I make the font size of the indicator one point larger (i.e., 17), the entire indicator array is then too big instead of too small.
If I go to the "font dialog" (which is sadly not available by right-clicking), and try to enter a font size of 16.5, it truncates it to 16 before applying the change (or not applying it, I guess).
I'd really just like these two objects to match in height.
08-30-2019 05:25 PM
Okay. So it is font size AND other features that may make it look larger like increment buttons.
Do you need the increment buttons? You could customize the control and make them a little smaller so they don't stick up so high.
Actualy, customizing the control or the indicator may allow you to manipulate the overall housing size of the control.
08-30-2019 05:35 PM - edited 08-30-2019 05:36 PM
Yes. You can customize a numeric control to change the height.
I have a video on Youtube to show you how:
https://www.youtube.com/watch?v=Gwin1oq4J3Y
08-30-2019 05:46 PM
At the risk of ruining your UI, can you use the "Silver Controls" in the Array palette? You can get them to match in size. (Array - Numeric Control shown)
mcduff
08-30-2019 05:54 PM