From e6100f8ac0c7beee46cbe912f0798ea33a8bb06e Mon Sep 17 00:00:00 2001 From: John Date: Fri, 18 Nov 2022 16:19:48 +0000 Subject: [PATCH] =?UTF-8?q?F2022-074=20Added=20logic=20to=20support=20{LJ}?= =?UTF-8?q?=20in=20the=20step=20tab=20definition=20so=20left=20justify=20t?= =?UTF-8?q?he=20tab=20text=20and=20allow=20a=20more=20exact=20alignment=20?= =?UTF-8?q?of=20the=20high=20level=20step=20tab=20under=20the=20section=20?= =?UTF-8?q?title=20in=20Beaver=20Valley=E2=80=99s=20intro=20sections.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs index e6421411..c1621f55 100644 --- a/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs +++ b/PROMS/VEPROMS.CSLA.Library/Extension/ItemExt.cs @@ -4744,6 +4744,13 @@ namespace VEPROMS.CSLA.Library if (tbformate != null && tbformate != "") tbformat = tbformate; } } + // F2022-074 added a Left Justify token to the step tab definition (used in Beaver Valley) + if (tbformat.Contains("{LJ}")) + { + tbformat = tbformat.Replace("{LJ}","").TrimStart(); + if (cltext != null && cltext.Contains("{LJ}")) + cltext = cltext.Replace("{LJ}", "").TrimStart(); + } _MyTab.Text = tbformat; _MyTab.CleanText = cltext != null ? cltext : tbformat; }