Commit 6abc3443 authored by dogmaphobic's avatar dogmaphobic

Component Summary window margins

parent e1d73b08
......@@ -22,7 +22,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
id: nameRow;
labelText: qsTr("Frame Type:")
......
......@@ -24,7 +24,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
visible: _mountTypeExists
......
......@@ -23,7 +23,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Flight Mode 1:")
......
......@@ -42,7 +42,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Battery monitor:")
......
......@@ -21,7 +21,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Roll:")
......
......@@ -85,7 +85,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Arming Checks:")
......
......@@ -24,7 +24,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Throttle failsafe:")
......
......@@ -46,7 +46,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Compass 1:")
......
......@@ -29,7 +29,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Firmware Version:")
valueText: esp8266.version
......
......@@ -10,7 +10,6 @@ import QGroundControl.Palette 1.0
FactPanel {
id: panel
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
color: qgcPal.windowShadeDark
QGCPalette { id: qgcPal; colorGroupEnabled: enabled }
......
......@@ -22,7 +22,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Trigger mode:")
......
......@@ -22,7 +22,6 @@ FactPanel {
Loader {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
sourceComponent: _simpleMode ? simple : advanced
}
......
......@@ -24,7 +24,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Roll:")
......
......@@ -47,7 +47,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Battery Full:")
......
......@@ -24,7 +24,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("RTL min alt:")
......
......@@ -27,7 +27,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: 8
VehicleSummaryRow {
labelText: qsTr("Compass 0:")
......
......@@ -25,7 +25,6 @@ FactPanel {
Column {
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
VehicleSummaryRow {
labelText: qsTr("Compass:")
......
......@@ -9,7 +9,7 @@ import QGroundControl.ScreenTools 1.0
ComboBox {
property var _qgcPal: QGCPalette { colorGroupEnabled: enabled }
property bool _showHighlight: pressed | hovered
property bool _showBorder: _qgcPal.globalTheme == QGCPalette.Light
property bool _showBorder: _qgcPal.globalTheme === QGCPalette.Light
style: ComboBoxStyle {
font.pointSize: ScreenTools.defaultFontPointSize
......
......@@ -20,7 +20,7 @@ TextField {
property var __qgcPal: QGCPalette { colorGroupEnabled: enabled }
textColor: __qgcPal.textFieldText
height: Math.max(25, Math.round(TextSingleton.implicitHeight * 1.2))
height: Math.max(25, Math.round(unitsLabel.implicitHeight * 1.2))
Label {
id: unitsLabelWidthGenerator
......
......@@ -151,8 +151,9 @@ Rectangle {
anchors.top: titleBar.bottom
width: parent.width
Loader {
anchors.fill: parent
source: modelData.summaryQmlSource
anchors.fill: parent
anchors.margins: ScreenTools.defaultFontPixelWidth
source: modelData.summaryQmlSource
}
}
}
......
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