Closed paulromano closed 3 years ago
You might have noticed that in the test that's run, there's a deprecation warning for the use of QFontMetrics.width. Based on this discussion, I've replaced it with QFontMetrics.boundingRect(...).width(). Also fixed some labels and a missing import.
QFontMetrics.width
QFontMetrics.boundingRect(...).width()
You might have noticed that in the test that's run, there's a deprecation warning for the use of
QFontMetrics.width
. Based on this discussion, I've replaced it withQFontMetrics.boundingRect(...).width()
. Also fixed some labels and a missing import.