Auto size (Text box or Button) for value display with unit

Is there a way to have a Graphic or Text box or Button with value display such that the width automatically resizes based on the value?


Let's assume the analog value varies from 0 to 2000 and display is set with 2 decimal points. If the value is 1.23 cm - the width adjusts to display this value (say width = 60) and if the value is 1357.12 cm - the width of the box automatically adjusts its size (say width = 120) to include all the digits with the unit.

Parents Reply Children
No Data