konrad - 2021-06-11

Hello there.

I have a problem with creating proper visualisation of floating point numbers in visualisation. I added a rectangle and followed instructions from documentation:

%<alignment><minimum width>.<accuracy>f

Let's say I want to display some value (ex. distance) in few rectangles. Rectangles are aligned vertically (one above another) and the text is displayed in the center of each of them. I want to see the text displayed as on the image below.

img1

Below is picture showing what I did to achieve that result. It should make space for three digits of the left of decimal point, but somehow it doesn't work. I don't want to align text to the left of the rectangle, I'd like to have in the middle.

img2

Is there anyone who had the same problem and knows how to deal with this?

Thanks for help in advance.

 

Last edit: konrad 2021-06-11