Hi,

I am using QLineEdit to display a Float number.

When setting the the text using setText() then the number is not displayed correct.

For example the number '9.991' is displayed '9 .991', 1 or more spaces before the decimal point! This happens when I set the input mask to ###.###;

I tried other masks like 999.999; but same result. If I don't use a mask then it is displayed correct but then the user can enter alfanumeric characters!

I hope someone can help me on this.

Regards,
Morty