mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-10 08:17:49 -06:00
Quick update to splashscreen drawing
This commit is contained in:
parent
00fcad17df
commit
e7fc881440
1 changed files with 4 additions and 3 deletions
|
@ -19,10 +19,11 @@ class CuraSplashScreen(QSplashScreen):
|
||||||
|
|
||||||
version = Application.getInstance().getVersion().split("-")
|
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.drawText(0, 0, 203, 230, Qt.AlignRight | Qt.AlignBottom, version[0])
|
||||||
painter.setFont(QFont("Roboto", 12))
|
if len(version) > 1:
|
||||||
painter.drawText(0, 0, 203, 255, Qt.AlignRight | Qt.AlignBottom, version[1])
|
painter.setFont(QFont("Proxima Nova Rg", 12))
|
||||||
|
painter.drawText(0, 0, 203, 255, Qt.AlignRight | Qt.AlignBottom, version[1])
|
||||||
|
|
||||||
painter.restore()
|
painter.restore()
|
||||||
super().drawContents(painter)
|
super().drawContents(painter)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue