summaryrefslogtreecommitdiffstats
path: root/qml
diff options
context:
space:
mode:
Diffstat (limited to 'qml')
-rw-r--r--qml/mageiawelcome.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/qml/mageiawelcome.py b/qml/mageiawelcome.py
index 310d2e8..0f19557 100644
--- a/qml/mageiawelcome.py
+++ b/qml/mageiawelcome.py
@@ -191,6 +191,9 @@ if __name__ == '__main__':
sc = nr.startupcheck()
factor = cl.factor(app)
screen = app.primaryScreen()
+ # if density is high, use at least factor 2 to scale the initial window. Considering high is more than 190 px/inches.
+ if screen.logicalDotsPerInch() > 190 :
+ factor = max(2.0, factor)
defaultHeight = min(700 * factor, screen.availableGeometry().height())
defaultWidth = min(1000 * factor, screen.availableGeometry().width())
centerPoint = screen.availableGeometry().center()