Browse Source

Move the pre-flight checklist to the upper left corner of the screen.

QGC4.4
Gus Grubba 5 years ago
parent
commit
f667bd11f5
  1. 10
      src/FlightDisplay/FlightDisplayView.qml

10
src/FlightDisplay/FlightDisplayView.qml

@ -778,17 +778,17 @@ Item {
//-- Checklist GUI //-- Checklist GUI
Popup { Popup {
id: checklistDropPanel id: checklistDropPanel
x: Math.round((mainWindow.width - width) * 0.5) x: toolStrip.x + toolStrip.width + (ScreenTools.defaultFontPixelWidth * 2)
y: Math.round((mainWindow.height - height) * 0.5) y: toolStrip.y
height: checkList.height height: checkList.height
width: checkList.width width: checkList.width
modal: true modal: true
focus: true focus: true
closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside closePolicy: Popup.CloseOnEscape | Popup.CloseOnPressOutside
background: Rectangle { background: Rectangle {
anchors.fill: parent anchors.fill: parent
color: Qt.rgba(0,0,0,0) color: Qt.rgba(0,0,0,0)
clip: true clip: true
} }
Loader { Loader {

Loading…
Cancel
Save