diff --git a/src/ui/MainRootWindow.qml b/src/ui/MainRootWindow.qml index 40457e5257b7d41a8f39638070e2ec93ecdd1602..c4e16a072765d5e81aef35090cce094f40ba929c 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: {