Browse Source

Fix positioning at high scaling

QGC4.4
DonLakeFlyer 5 years ago
parent
commit
49b22ebe9e
  1. 13
      src/FlightDisplay/FlightDisplayViewWidgets.qml

13
src/FlightDisplay/FlightDisplayViewWidgets.qml

@ -22,15 +22,10 @@ import QGroundControl.Palette 1.0 @@ -22,15 +22,10 @@ import QGroundControl.Palette 1.0
import QGroundControl.Vehicle 1.0
import QGroundControl.FlightMap 1.0
Column {
id: _root
spacing: ScreenTools.defaultFontPixelHeight * 0.25
Loader {
width: parent.width
source: QGroundControl.settingsManager.flyViewSettings.alternateInstrumentPanel.rawValue ?
"qrc:/qml/QGCInstrumentWidgetAlternate.qml" : "qrc:/qml/QGCInstrumentWidget.qml"
property var missionController
Loader {
width: parent.width
source: QGroundControl.settingsManager.flyViewSettings.alternateInstrumentPanel.rawValue ?
"qrc:/qml/QGCInstrumentWidgetAlternate.qml" : "qrc:/qml/QGCInstrumentWidget.qml"
}
}

Loading…
Cancel
Save