From 364605242a8cd674dc5f77f969ade08088828a78 Mon Sep 17 00:00:00 2001 From: Jonathan Redpath Date: Sun, 6 Feb 2022 21:15:15 +0000 Subject: [PATCH] ATIS page: correct the font size --- Models/Instruments/MCDU/MCDU.nas | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/Models/Instruments/MCDU/MCDU.nas b/Models/Instruments/MCDU/MCDU.nas index 9342889b..fc0fd131 100644 --- a/Models/Instruments/MCDU/MCDU.nas +++ b/Models/Instruments/MCDU/MCDU.nas @@ -425,15 +425,22 @@ var canvas_MCDU_base = { me["Simple_R5S"].setFont("HoneywellMCDUSmall.ttf"); me["Simple_R5S"].setFontSize(small); } - if (page == "RECEIVEDMSG") { + if (page == "RECEIVEDMSG" or page == "ATISDETAIL") { + if (page == "RECEIVEDMSG") { + me["Simple_L2S"].setFontSize(normal); + me["Simple_L3S"].setFontSize(normal); + me["Simple_L4S"].setFontSize(normal); + me["Simple_L5S"].setFontSize(normal); + } else { + me["Simple_L2S"].setFontSize(small); + me["Simple_L3S"].setFontSize(small); + me["Simple_L4S"].setFontSize(small); + me["Simple_L5S"].setFontSize(small); + } me["Simple_L2S"].setFont("HoneywellMCDU.ttf"); - me["Simple_L2S"].setFontSize(normal); me["Simple_L3S"].setFont("HoneywellMCDU.ttf"); - me["Simple_L3S"].setFontSize(normal); me["Simple_L4S"].setFont("HoneywellMCDU.ttf"); - me["Simple_L4S"].setFontSize(normal); me["Simple_L5S"].setFont("HoneywellMCDU.ttf"); - me["Simple_L5S"].setFontSize(normal); } else { me["Simple_L2S"].setFont("HoneywellMCDUSmall.ttf"); me["Simple_L2S"].setFontSize(small);