From 9b8dc9fe05e88e6e75a588e01504ef98634e3f62 Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 26 Jun 2018 19:07:46 +0000 Subject: [PATCH] Fixed logic to exclude check for Boxes on Steps if the parent item is a section --- PROMS/Volian.Print.Library/vlnParagraph.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 0ae77f59..9a36d53a 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -6163,7 +6163,7 @@ namespace Volian.Print.Library { float oldWidth = _WidthAdjustBox + (float)bx.TxtWidth - tabWidth; // add 1 to get it to wrap like 16Bit // B2018-096 AEP 082.002CD Note Box overlapping Step Box - if (MyParent.MyItemInfo.FormatStepData.BoxIt) // B2018-098 only adjust width if parent has Boxit turned on + if (MyParent.MyItemInfo.FormatStepData != null && MyParent.MyItemInfo.FormatStepData.BoxIt) // B2018-100 not for parents that are sections // B2018-098 only adjust width if parent has Boxit turned on { Width = Math.Min(MyParent.Width + MyParent.XOffset - XOffset, oldWidth); AdjustHeader = (Width - oldWidth) / 2;