Browse Source

Merge pull request #3140 from DonLakeFlyer/SensorFont

Sensors: Use standard font size to fit on tablet
QGC4.4
Don Gagne 9 years ago
parent
commit
1be9b3a663
  1. 8
      src/AutoPilotPlugins/PX4/SensorsComponent.qml

8
src/AutoPilotPlugins/PX4/SensorsComponent.qml

@ -57,9 +57,6 @@ QGCView {
// Used to pass help text to the preCalibrationDialog dialog // Used to pass help text to the preCalibrationDialog dialog
property string preCalibrationDialogHelp property string preCalibrationDialogHelp
readonly property int sideBarH1PointSize: ScreenTools.mediumFontPixelSize
readonly property int mainTextH1PointSize: ScreenTools.mediumFontPixelSize // Seems to be unused
readonly property int rotationColumnWidth: 250 readonly property int rotationColumnWidth: 250
readonly property var rotations: [ readonly property var rotations: [
"ROTATION_NONE", "ROTATION_NONE",
@ -214,7 +211,6 @@ QGCView {
id: compass0ComponentLabel id: compass0ComponentLabel
QGCLabel { QGCLabel {
font.pixelSize: sideBarH1PointSize
text: "External Compass Orientation" text: "External Compass Orientation"
} }
@ -470,7 +466,6 @@ QGCView {
spacing: ScreenTools.defaultFontPixelWidth spacing: ScreenTools.defaultFontPixelWidth
QGCLabel { QGCLabel {
font.pixelSize: sideBarH1PointSize
text: "Autopilot Orientation" text: "Autopilot Orientation"
} }
@ -496,7 +491,6 @@ QGCView {
id: compass0ComponentLabel2 id: compass0ComponentLabel2
QGCLabel { QGCLabel {
font.pixelSize: sideBarH1PointSize
text: "External Compass Orientation" text: "External Compass Orientation"
} }
} }
@ -524,7 +518,6 @@ QGCView {
id: compass1ComponentLabel2 id: compass1ComponentLabel2
QGCLabel { QGCLabel {
font.pixelSize: sideBarH1PointSize
text: "External Compass 1 Orientation" text: "External Compass 1 Orientation"
} }
} }
@ -552,7 +545,6 @@ QGCView {
id: compass2ComponentLabel2 id: compass2ComponentLabel2
QGCLabel { QGCLabel {
font.pixelSize: sidebarH1PointSize
text: "Compass 2 Orientation" text: "Compass 2 Orientation"
} }
} }

Loading…
Cancel
Save