Browse Source

Fix GStreamer Debug positioning

QGC4.4
Don Gagne 6 years ago
parent
commit
181ed11323
  1. 38
      src/QmlControls/AppMessages.qml

38
src/QmlControls/AppMessages.qml

@ -157,31 +157,23 @@ QGCView {
} }
QGCLabel { QGCLabel {
id: gstLabel id: gstLabel
anchors.baseline: gstCombo.baseline anchors.left: writeButton.right
anchors.right: gstCombo.left anchors.leftMargin: ScreenTools.defaultFontPixelWidth
anchors.rightMargin: ScreenTools.defaultFontPixelWidth anchors.baseline: gstCombo.baseline
text: qsTr("GStreamer Debug Level:") text: qsTr("GStreamer Debug")
visible: QGroundControl.settingsManager.appSettings.gstDebugLevel.visible visible: QGroundControl.settingsManager.appSettings.gstDebugLevel.visible
} }
FactComboBox { FactComboBox {
id: gstCombo id: gstCombo
anchors.right: followTail.left anchors.left: gstLabel.right
anchors.rightMargin: ScreenTools.defaultFontPixelWidth*20 anchors.leftMargin: ScreenTools.defaultFontPixelWidth / 2
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
width: ScreenTools.defaultFontPixelWidth*20 width: ScreenTools.defaultFontPixelWidth * 10
model: ["disabled", "1", "2", "3", "4", "5", "6", "7", "8"] model: ["Disabled", "1", "2", "3", "4", "5", "6", "7", "8"]
fact: QGroundControl.settingsManager.appSettings.gstDebugLevel fact: QGroundControl.settingsManager.appSettings.gstDebugLevel
visible: QGroundControl.settingsManager.appSettings.gstDebugLevel.visible visible: QGroundControl.settingsManager.appSettings.gstDebugLevel.visible
}
BusyIndicator {
id: writeBusy
anchors.bottom: writeButton.bottom
anchors.left: writeButton.right
height: writeButton.height
visible: !writeButton.enabled
} }
QGCButton { QGCButton {
@ -204,7 +196,7 @@ QGCView {
id: filterButton id: filterButton
anchors.bottom: parent.bottom anchors.bottom: parent.bottom
anchors.right: parent.right anchors.right: parent.right
text: qsTr("Set logging") text: qsTr("Set Logging")
onClicked: showDialog(filtersDialogComponent, qsTr("Turn on logging categories"), qgcView.showDialogDefaultWidth, StandardButton.Close) onClicked: showDialog(filtersDialogComponent, qsTr("Turn on logging categories"), qgcView.showDialogDefaultWidth, StandardButton.Close)
} }
} }

Loading…
Cancel
Save