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 }