From f8a869f80b35b9ea6693b2e8efce5e3cab640bd6 Mon Sep 17 00:00:00 2001 From: dogmaphobic Date: Tue, 27 Oct 2015 14:13:58 -0400 Subject: [PATCH] Making Altitude text Larger than the rest. --- src/FlightMap/Widgets/QGCInstrumentWidget.qml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/FlightMap/Widgets/QGCInstrumentWidget.qml b/src/FlightMap/Widgets/QGCInstrumentWidget.qml index 3e7b83305..329dfd706 100644 --- a/src/FlightMap/Widgets/QGCInstrumentWidget.qml +++ b/src/FlightMap/Widgets/QGCInstrumentWidget.qml @@ -83,14 +83,18 @@ Item { anchors.horizontalCenter: parent.horizontalCenter QGCLabel { text: "H" + font.pixelSize: ScreenTools.defaultFontPixelSize * 1.25 width: parent.width * 0.45 color: isSatellite ? "black" : "white" horizontalAlignment: TextEdit.AlignHCenter } QGCLabel { text: altitude.toFixed(1) + font.pixelSize: ScreenTools.defaultFontPixelSize * 1.25 font.weight: Font.DemiBold + width: parent.width * 0.549 color: isSatellite ? "black" : "white" + horizontalAlignment: TextEdit.AlignHCenter } } //-- Ground Speed @@ -105,14 +109,18 @@ Item { anchors.horizontalCenter: parent.horizontalCenter QGCLabel { text: "GS" + font.pixelSize: ScreenTools.defaultFontPixelSize * 0.75 width: parent.width * 0.45 color: isSatellite ? "black" : "white" horizontalAlignment: TextEdit.AlignHCenter } QGCLabel { text: groundSpeed.toFixed(1) + font.pixelSize: ScreenTools.defaultFontPixelSize * 0.75 font.weight: Font.DemiBold + width: parent.width * 0.549 color: isSatellite ? "black" : "white" + horizontalAlignment: TextEdit.AlignHCenter } } //-- Air Speed @@ -129,14 +137,18 @@ Item { visible: airSpeed > 0 QGCLabel { text: "AS" + font.pixelSize: ScreenTools.defaultFontPixelSize * 0.75 width: parent.width * 0.45 color: isSatellite ? "black" : "white" horizontalAlignment: TextEdit.AlignHCenter } QGCLabel { text: airSpeed.toFixed(1) + font.pixelSize: ScreenTools.defaultFontPixelSize * 0.75 font.weight: Font.DemiBold + width: parent.width * 0.549 color: isSatellite ? "black" : "white" + horizontalAlignment: TextEdit.AlignHCenter } } //-- Climb Rate @@ -151,14 +163,18 @@ Item { anchors.horizontalCenter: parent.horizontalCenter QGCLabel { text: "VS" + font.pixelSize: ScreenTools.defaultFontPixelSize * 0.75 width: parent.width * 0.45 color: isSatellite ? "black" : "white" horizontalAlignment: TextEdit.AlignHCenter } QGCLabel { text: climbRate.toFixed(1) + font.pixelSize: ScreenTools.defaultFontPixelSize * 0.75 font.weight: Font.DemiBold + width: parent.width * 0.549 color: isSatellite ? "black" : "white" + horizontalAlignment: TextEdit.AlignHCenter } } //-- Compass -- 2.22.0