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