We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca08ce5 commit 1e4883cCopy full SHA for 1e4883c
tagstudio/src/qt/ts_qt.py
@@ -292,8 +292,18 @@ def start(self) -> None:
292
293
splash_pixmap = QPixmap(":/images/splash.png")
294
splash_pixmap.setDevicePixelRatio(self.main_window.devicePixelRatio())
295
+ splash_pixmap = splash_pixmap.scaledToWidth(
296
+ min(
297
+ (
298
+ QGuiApplication.primaryScreen().geometry().width()
299
+ * self.main_window.devicePixelRatio()
300
+ )
301
+ // 4,
302
+ splash_pixmap.width(),
303
+ ),
304
+ Qt.TransformationMode.SmoothTransformation,
305
306
self.splash = QSplashScreen(splash_pixmap, Qt.WindowStaysOnTopHint) # type: ignore
- # self.splash.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground)
307
self.splash.show()
308
309
if os.name == "nt":
0 commit comments