diff options
author | fieldOfView <aldo@fieldofview.com> | 2015-11-25 16:28:06 +0300 |
---|---|---|
committer | fieldOfView <aldo@fieldofview.com> | 2015-12-03 14:09:28 +0300 |
commit | e7fc881440a4b92598fb4bf64648c96b47e17bb5 (patch) | |
tree | d1889a8f978f0c8fe1a9bf0dbdc81b5f29e1a79f /cura/CuraSplashScreen.py | |
parent | 00fcad17df09a7bde8d9d07f2663055280cba444 (diff) |
Quick update to splashscreen drawing
Diffstat (limited to 'cura/CuraSplashScreen.py')
-rw-r--r-- | cura/CuraSplashScreen.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cura/CuraSplashScreen.py b/cura/CuraSplashScreen.py index d2f9ad8d61..07f88fc843 100644 --- a/cura/CuraSplashScreen.py +++ b/cura/CuraSplashScreen.py @@ -19,10 +19,11 @@ class CuraSplashScreen(QSplashScreen): version = Application.getInstance().getVersion().split("-") - painter.setFont(QFont("Roboto", 20)) + painter.setFont(QFont("Proxima Nova Rg", 20)) painter.drawText(0, 0, 203, 230, Qt.AlignRight | Qt.AlignBottom, version[0]) - painter.setFont(QFont("Roboto", 12)) - painter.drawText(0, 0, 203, 255, Qt.AlignRight | Qt.AlignBottom, version[1]) + if len(version) > 1: + painter.setFont(QFont("Proxima Nova Rg", 12)) + painter.drawText(0, 0, 203, 255, Qt.AlignRight | Qt.AlignBottom, version[1]) painter.restore() super().drawContents(painter) |