Am Samstag, 5. Januar 2013, 11:17:21 schrieb Viranch Mehta:
> This is because it has to calculate the maximum size of the score text which can be fit in the box.
fm = QFontMetrics(self.painter.font())
strLen = fm.width('the score text')
--
Wolfgang