diff --git a/src/ui/MainRootWindow.qml b/src/ui/MainRootWindow.qml index 7963d54c42ffc65e5881daa2b6af715f195a150c..7f51833de6d958c36d46dfdc2fbea4c26674475f 100644 --- a/src/ui/MainRootWindow.qml +++ b/src/ui/MainRootWindow.qml @@ -29,9 +29,6 @@ ApplicationWindow { minimumHeight: 646 visible: true - onWidthChanged: console.log('W: ' + width) - onHeightChanged: console.log('H: ' + height) - readonly property real _topBottomMargins: ScreenTools.defaultFontPixelHeight * 0.5 readonly property string _mainToolbar: QGroundControl.corePlugin.options.mainToolbarUrl readonly property string _planToolbar: QGroundControl.corePlugin.options.planToolbarUrl @@ -527,7 +524,7 @@ ApplicationWindow { color: qgcPal.alertText MouseArea { anchors.fill: parent - anchors.margins: ScreenTools.isMobile ? -ScreenTools.defaultFontPixelHeight : 0 + anchors.margins: -ScreenTools.defaultFontPixelHeight onClicked: { systemMessageArea.close() }