From 5326726c4f46b0461f3a29b92751137f24abf2d5 Mon Sep 17 00:00:00 2001 From: miruka Date: Sun, 8 Dec 2019 14:40:56 -0400 Subject: [PATCH] Improve default window size for small screens --- src/qml/Window.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/Window.qml b/src/qml/Window.qml index 22be16cc..b517d4da 100644 --- a/src/qml/Window.qml +++ b/src/qml/Window.qml @@ -7,8 +7,8 @@ ApplicationWindow { flags: Qt.WA_TranslucentBackground minimumWidth: theme ? theme.minimumSupportedWidth : 240 minimumHeight: theme ? theme.minimumSupportedHeight : 120 - width: 640 - height: 480 + width: Math.min(screen.width, 1152) + height: Math.min(screen.height, 768) visible: true color: "transparent"