Fixed typo

This commit is contained in:
Balthasar Reuter
2018-05-14 22:38:54 +02:00
parent 9e5185ee20
commit ff1a9b90c6
3 changed files with 23 additions and 3 deletions

View File

@@ -650,6 +650,10 @@ class PyQt5WaitMessage(QFrame):
painter = QPainter(self)
f = self.font()
f.setPixelSize(self.height() / 8)
painter.setFont(f)
rect = QRect(0, self.height() * 3 / 5, self.width(), self.height() * 3 / 10)
painter.drawText(rect, Qt.AlignCenter, self._message)