Unverified Commit dc2f8b10 authored by Gus Grubba's avatar Gus Grubba Committed by GitHub

Merge pull request #8590 from mavlink/pr-min-size

Adjust minimum application window size
parents 2bdc42b6 1a7b12ad
...@@ -25,8 +25,8 @@ import QGroundControl.FlightMap 1.0 ...@@ -25,8 +25,8 @@ import QGroundControl.FlightMap 1.0
/// All properties defined here are visible to all QML pages. /// All properties defined here are visible to all QML pages.
ApplicationWindow { ApplicationWindow {
id: mainWindow id: mainWindow
minimumWidth: ScreenTools.isMobile ? Screen.width : Math.min(215 * Screen.pixelDensity, Screen.width) minimumWidth: ScreenTools.isMobile ? Screen.width : Math.min(ScreenTools.defaultFontPixelWidth * 100, Screen.width)
minimumHeight: ScreenTools.isMobile ? Screen.height : Math.min(120 * Screen.pixelDensity, Screen.height) minimumHeight: ScreenTools.isMobile ? Screen.height : Math.min(ScreenTools.defaultFontPixelWidth * 50, Screen.height)
visible: true visible: true
Component.onCompleted: { Component.onCompleted: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment