How to Change the decimal representation

You do NOT give enough informations about your SETUP.

-How is your project-setup?
-Which elements are used?
-Dataset-connections included/present?
-Seems like you use a REPEATER?

Elaborate more about your project-setup.

To get a good alignment you will need to have always the same length of TEXT repeated in your REPEATER. This for you have 2 possibilities…

  1. …resizing the text-box + text
  2. cutting the text if it is off limit

or even a third solution would be to generate a function, which would do both processes.