From f10242d5730787f1740c01206f5ed329f36d17a9 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Tue, 3 May 2022 20:02:20 +0100 Subject: [PATCH] Fix that pitch trim field had incorrect width --- .../Lower-ECAM/Lower-ECAM-fctl.nas | 2 +- Models/Instruments/Lower-ECAM/res/fctl.svg | 155 +++++++++--------- 2 files changed, 79 insertions(+), 78 deletions(-) diff --git a/Models/Instruments/Lower-ECAM/Lower-ECAM-fctl.nas b/Models/Instruments/Lower-ECAM/Lower-ECAM-fctl.nas index 1cfdefb4..84ed7c4e 100644 --- a/Models/Instruments/Lower-ECAM/Lower-ECAM-fctl.nas +++ b/Models/Instruments/Lower-ECAM/Lower-ECAM-fctl.nas @@ -138,7 +138,7 @@ var canvas_lowerECAMPageFctl = } }), props.UpdateManager.FromHashValue("fctlElevTrim", 0.01, func(val) { - obj["PT"].setText(sprintf("%2.1f", val)); + obj["PT"].setText(sprintf("%4.1f", val)); if (val >= 0.09) { obj["PTupdn"].setText("UP"); obj["PTupdn"].show(); diff --git a/Models/Instruments/Lower-ECAM/res/fctl.svg b/Models/Instruments/Lower-ECAM/res/fctl.svg index f038ae46..d871b070 100644 --- a/Models/Instruments/Lower-ECAM/res/fctl.svg +++ b/Models/Instruments/Lower-ECAM/res/fctl.svg @@ -1,19 +1,19 @@ + inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)" + sodipodi:docname="fctl.svg" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> @@ -22,7 +22,6 @@ image/svg+xml - @@ -37,17 +36,19 @@ guidetolerance="10" inkscape:pageopacity="1" inkscape:pageshadow="2" - inkscape:window-width="1366" - inkscape:window-height="705" + inkscape:window-width="1920" + inkscape:window-height="974" id="namedview371" - showgrid="false" - inkscape:zoom="1.28" - inkscape:cx="608.14718" - inkscape:cy="323.45523" - inkscape:window-x="-8" - inkscape:window-y="-8" + showgrid="true" + inkscape:zoom="5.12" + inkscape:cx="705.66406" + inkscape:cy="772.46094" + inkscape:window-x="-11" + inkscape:window-y="-11" inkscape:window-maximized="1" - inkscape:current-layer="svg2"> + inkscape:current-layer="svg2" + inkscape:pagecheckerboard="0" + inkscape:document-units="pt"> @@ -316,7 +317,7 @@ id="tspan4317" x="390.37976" y="387.46661" - style="font-size:39.1399231px;line-height:1.25;fill:#0dc04b;fill-opacity:1">1 + style="font-size:39.1399px;line-height:1.25;fill:#0dc04b;fill-opacity:1">1 2 + style="font-size:36.8339px;line-height:1.25">2 3 + style="font-size:34.8349px;line-height:1.25">3 1 + style="font-size:39.1399px;line-height:1.25;fill:#0dc04b;fill-opacity:1">1 2 + style="font-size:36.8339px;line-height:1.25">2 SEC + style="font-size:33.5112px;line-height:1.25;fill:#ffffff;fill-opacity:1">SEC SPD BRK + style="font-size:34.581px;line-height:1.25;fill:#ffffff;fill-opacity:1">SPD BRK PITCH TRIM + style="font-size:37.5371px;line-height:1.25">PITCH TRIM G + style="font-size:34.2665px;line-height:1.25">G Y + style="font-size:34.508px;line-height:1.25">Y DN + x="617.86084" + y="513.65326" + style="font-size:34.6309px;line-height:1.25;stroke-width:0.966793px">DN ° + style="font-size:32px;line-height:1.25;fill:#179ab7;fill-opacity:1">° B + style="font-size:34.8201px;line-height:1.25">B Y + style="font-size:34.508px;line-height:1.25">Y RUD + style="font-size:32.4441px;line-height:1.25">RUD   AIL + style="font-size:38.6374px;line-height:1.25;fill:#ffffff;fill-opacity:1">AIL L + style="font-size:34.5197px;line-height:1.25">L   AIL + style="font-size:38.6374px;line-height:1.25;fill:#ffffff;fill-opacity:1">AIL R + style="font-size:34.5133px;line-height:1.25">R G + style="font-size:34.2665px;line-height:1.25">G G + style="font-size:34.2665px;line-height:1.25">G B + style="font-size:34.8201px;line-height:1.25">B G + style="font-size:34.2665px;line-height:1.25">G L + style="font-size:34.5197px;line-height:1.25">L R + style="font-size:34.508px;line-height:1.25">R B + style="font-size:34.8201px;line-height:1.25">B B + style="font-size:34.8201px;line-height:1.25">B G + style="font-size:34.2665px;line-height:1.25">G B + style="font-size:34.8201px;line-height:1.25">B Y + style="font-size:34.508px;line-height:1.25">Y ELEV + style="font-size:36.0853px;line-height:1.25">ELEV ELEV + style="font-size:36.0853px;line-height:1.25">ELEV 000 + style="font-size:35.8204px;line-height:1.25">0000 G + style="font-size:34.2665px;line-height:1.25">G B + style="font-size:34.7532px;line-height:1.25">B Y + style="font-size:34.508px;line-height:1.25">Y 1 + style="font-size:43.1136px;line-height:1.25">1 2 + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:43.1136px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans'">2 4 + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:43.1136px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans'">4 1 + style="font-size:43.1136px;line-height:1.25">1 3 + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:43.1136px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans'">3 5 + style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:43.1136px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans'">5