Problem when using pyqt tablewidget, float numbers are displayed with an apostrophe for all fractional parts

29 Views Asked by At

When using pyqt tablewidget, I find that when the data is a float number and there is only one integer digit, its fractional parts is incorrectly displayed as an ellipsis. This is strange, with or without the textElideMode set to ElideNone. As shown below.

first cell all fractional parts are displayed as apostrophe

textElideMode already set to ElideNone

Problems still exist when textElideMode set to ElideRight

Is this a bug? How to fix it?

0

There are 0 best solutions below