Fixed logic to exclude check for Boxes on Steps if the parent item is a section
This commit is contained in:
parent
2b430568fa
commit
9b8dc9fe05
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user