Commit 181ed113 authored by Don Gagne's avatar Don Gagne

Fix GStreamer Debug positioning

parent b8a4746d
...@@ -158,32 +158,24 @@ QGCView { ...@@ -158,32 +158,24 @@ QGCView {
QGCLabel { QGCLabel {
id: gstLabel id: gstLabel
anchors.left: writeButton.right
anchors.leftMargin: ScreenTools.defaultFontPixelWidth
anchors.baseline: gstCombo.baseline anchors.baseline: gstCombo.baseline
anchors.right: gstCombo.left text: qsTr("GStreamer Debug")
anchors.rightMargin: ScreenTools.defaultFontPixelWidth
text: qsTr("GStreamer Debug Level:")
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 {
id: followTail id: followTail
anchors.right: filterButton.left anchors.right: filterButton.left
...@@ -204,7 +196,7 @@ QGCView { ...@@ -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)
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment