From 1a7b12ad8ca62171ecb3879d393d4aba5481bbb0 Mon Sep 17 00:00:00 2001 From: Gus Grubba Date: Mon, 23 Mar 2020 17:26:40 -0300 Subject: [PATCH] Adjust minimum application window size --- src/ui/MainRootWindow.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ui/MainRootWindow.qml b/src/ui/MainRootWindow.qml index 40457e525..c4e16a072 100644 --- a/src/ui/MainRootWindow.qml +++ b/src/ui/MainRootWindow.qml @@ -25,8 +25,8 @@ import QGroundControl.FlightMap 1.0 /// All properties defined here are visible to all QML pages. ApplicationWindow { id: mainWindow - minimumWidth: ScreenTools.isMobile ? Screen.width : Math.min(215 * Screen.pixelDensity, Screen.width) - minimumHeight: ScreenTools.isMobile ? Screen.height : Math.min(120 * Screen.pixelDensity, Screen.height) + minimumWidth: ScreenTools.isMobile ? Screen.width : Math.min(ScreenTools.defaultFontPixelWidth * 100, Screen.width) + minimumHeight: ScreenTools.isMobile ? Screen.height : Math.min(ScreenTools.defaultFontPixelWidth * 50, Screen.height) visible: true Component.onCompleted: { -- 2.22.0