diff options
author | Lipu Fei <lipu.fei815@gmail.com> | 2017-09-12 17:01:57 +0300 |
---|---|---|
committer | Lipu Fei <lipu.fei815@gmail.com> | 2017-09-12 17:01:57 +0300 |
commit | a28264acae0413b9c580d6abee6e77117bc1fe6e (patch) | |
tree | 1726d89451bcd18db051e433c1cb91eb23a4f0f0 /cura/CuraSplashScreen.py | |
parent | 48cda42ece6484d0bd9132c61748442dc740bf13 (diff) |
Adjust text positions and sizes
CURA-4215
Diffstat (limited to 'cura/CuraSplashScreen.py')
-rw-r--r-- | cura/CuraSplashScreen.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cura/CuraSplashScreen.py b/cura/CuraSplashScreen.py index 6c82a671c7..dd4dd9b2cc 100644 --- a/cura/CuraSplashScreen.py +++ b/cura/CuraSplashScreen.py @@ -54,13 +54,13 @@ class CuraSplashScreen(QSplashScreen): # draw version text font = QFont() # Using system-default font here - font.setPointSize(38) + font.setPointSize(34) painter.setFont(font) - painter.drawText(230, 90, 330 * self._scale, 230 * self._scale, Qt.AlignHCenter | Qt.AlignBottom, version[0]) + painter.drawText(275, 87, 330 * self._scale, 230 * self._scale, Qt.AlignLeft | Qt.AlignBottom, version[0]) if len(version) > 1: font.setPointSize(12) painter.setFont(font) - painter.drawText(280, 77, 330 * self._scale, 255 * self._scale, Qt.AlignHCenter | Qt.AlignBottom, version[1]) + painter.drawText(320, 82, 330 * self._scale, 255 * self._scale, Qt.AlignLeft | Qt.AlignBottom, version[1]) # draw the loading image pen = QPen() @@ -74,7 +74,7 @@ class CuraSplashScreen(QSplashScreen): font = QFont() # Using system-default font here font.setPointSize(16) painter.setFont(font) - painter.drawText(180, 240, 330 * self._scale, 230 * self._scale, Qt.AlignLeft | Qt.AlignBottom, + painter.drawText(180, 243, 330 * self._scale, 230 * self._scale, Qt.AlignLeft | Qt.AlignBottom, self._current_message) painter.restore() |