diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 38402b5d..782636f2 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -5668,9 +5668,15 @@ namespace Volian.Print.Library float? colOvrd = itemInfo.FormatStepData.ColOverride; if (itemInfo.IsBackgroundStep()) { - if (myTab != null) myTab.XOffset = XOffset; - XOffset += (itemInfo.FormatStepData.Font.CharsToTwips * 2); // indent 2 characters for background steps - Width -= (itemInfo.FormatStepData.Font.CharsToTwips * 2); // Adjust width by 2 characters + int adj = 2; + if (myTab != null) + { + // F2018-041 seq tabs off of TitleWithTextBelow were running into the step text + myTab.XOffset = XOffset + (itemInfo.FormatStepData.Font.CharsToTwips * adj); // F2018-041 move tab over 2 chars so it positions like paragraphs under TitleWithTextBelow + adj += myTab.Text.Length; // F2018-041 add the length of the tab to the adjustment of the XOffset + } + XOffset += (itemInfo.FormatStepData.Font.CharsToTwips * adj); // indent 2 characters for background steps + Width -= (itemInfo.FormatStepData.Font.CharsToTwips * adj); // Adjust width by 2 characters return; } else if (itemInfo.FormatStepData.UseOldTemplate && itemInfo.IsInTemplate() &&