Browse Source

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

Adjust minimum application window size
QGC4.4
Gus Grubba 5 years ago committed by GitHub
parent
commit
c46c9ec13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/ui/MainRootWindow.qml

4
src/ui/MainRootWindow.qml

@ -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.
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: {

Loading…
Cancel
Save