PLUS+1 Software > Displays

Show value in DP always flush right

(1/2) > >>

FST:

My problem is, that if the value in the display are changing the position also will change.
With %5d the value will move on both side.
With %d the value will move to the rigth.

I saw in the DP200 with the EIC that there are value which are moving to the left.
How can I implement, that my value is fixed on the right an if I rise the value it will move the the left.

Thank you for your help.
Frank

Niska:
You need to have Monotype fonts (same width on all letters and numbers) on the value you want to show and use %5d.

In DP200 program Sauer-Danfoss is using Aero-font for the text and fixed Aero font (monotype) on the values.

Marbek_Elektronik:
But I have used Aero Font and it is not Fixed size !?

Bernd

Neil:
Hi there.

If you use %05d the units not in use will be filled with zeros such as 0017.
This will at least stop the fonts jumping around.

regards Neil.

jashom1:
Try using %-5d, That should left justify the number.

John.

Navigation

[0] Message Index

[#] Next page

Go to full version