Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.9.2
-
None
-
Ubuntu Linux
Description
I am using QTableView with a custom QAbstractTableModel. My model's data(...) method returns Qt::AlignRight | Qt::AlignVCenter for Qt::TextAlignmentRole. This correctly right-aligns the column. When I edit a cell containing a number, a spin box appears for changing the value. But the background of this spin box contains the last digit of the number in the cell (please see the attached screenshot). It appears as if the spin box did not clear its background before rendering.