From bfc321abbfb7347738cac4712df380d97ec6d17c Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 10 Jan 2017 14:36:34 +0000 Subject: [PATCH] =?UTF-8?q?B2016-269:=20Ginna=20=E2=80=93=20notes=20on=20s?= =?UTF-8?q?ub-steps=20were=20printing=20beyond=20the=20margin=20and=20off?= =?UTF-8?q?=20the=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- PROMS/Volian.Print.Library/vlnParagraph.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index d057007c..4bd73793 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -5554,11 +5554,11 @@ namespace Volian.Print.Library else { // B2016-269: if caution/note & not boxed, with tab adjust width based on xoffset of tab - // so text doesn't print out of right border. Commented out to check in another fix. Will be use - //if (!MyItemInfo.MyParent.IsHigh && MyTab != null && MyTab.YOffset == YOffset) - // Width = MyHighLevelParagraph.Width - MyTab.Width - (MyTab.XOffset - MyHighLevelParagraph.XOffset) - 6; - //else - Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT; + // so text doesn't print out of right border. + if (!MyItemInfo.MyParent.IsHigh && MyTab != null && MyTab.YOffset == YOffset) + Width = MyHighLevelParagraph.Width - MyTab.Width - (MyTab.XOffset - MyHighLevelParagraph.XOffset) - 6; + else + Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT; } XOffset += mycolT; // adjust caution/note text position if (PartsLeft != null && PartsLeft.Count > 0)// adjust tab position