From 433a0d20506a13456437614d8b3552b5675071ba Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Thu, 19 Sep 2024 12:10:17 -0700 Subject: [PATCH] Use correct fixed width font --- src/PlanView/TerrainStatus.qml | 4 ++-- src/QmlControls/MAVLinkChart.qml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/PlanView/TerrainStatus.qml b/src/PlanView/TerrainStatus.qml index dce74837a2c..dbd84a31734 100644 --- a/src/PlanView/TerrainStatus.qml +++ b/src/PlanView/TerrainStatus.qml @@ -77,7 +77,7 @@ Rectangle { min: 0 max: _unitsConversion.metersToAppSettingsHorizontalDistanceUnits(missionController.missionDistance) lineVisible: true - labelsFont.family: "Fixed" + labelsFont.family: ScreenTools.fixedFontFamily labelsFont.pointSize: ScreenTools.smallFontPointSize labelsColor: "white" tickCount: 5 @@ -89,7 +89,7 @@ Rectangle { min: _unitsConversion.metersToAppSettingsVerticalDistanceUnits(_minAMSLAltitude) max: _unitsConversion.metersToAppSettingsVerticalDistanceUnits(_maxAMSLAltitude) lineVisible: true - labelsFont.family: "Fixed" + labelsFont.family: ScreenTools.fixedFontFamily labelsFont.pointSize: ScreenTools.smallFontPointSize labelsColor: "white" tickCount: 4 diff --git a/src/QmlControls/MAVLinkChart.qml b/src/QmlControls/MAVLinkChart.qml index d75875be42a..6051c41d683 100644 --- a/src/QmlControls/MAVLinkChart.qml +++ b/src/QmlControls/MAVLinkChart.qml @@ -56,7 +56,7 @@ ChartView { format: "
mm:ss.zzz" tickCount: 5 gridVisible: true - labelsFont.family: "Fixed" + labelsFont.family: ScreenTools.fixedFontFamily labelsFont.pointSize: ScreenTools.smallFontPointSize labelsColor: qgcPal.text } @@ -67,7 +67,7 @@ ChartView { max: chartController ? chartController.rangeYMax : 0 visible: chartController !== null lineVisible: false - labelsFont.family: "Fixed" + labelsFont.family: ScreenTools.fixedFontFamily labelsFont.pointSize: ScreenTools.smallFontPointSize labelsColor: qgcPal.text }