diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index 6d4b1a1c..a6ec0e93 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -5591,7 +5591,8 @@ namespace Volian.Print.Library float mytbwidth = myTab.Width; myTab.Width = 2.5f * myTab.Width; // C2018-022: adjust xoffset of text by 12 if the tab would overwrite the text and the format flag is on: - if (itemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SupInfoAdjustXOffForLongTab && myTab.XOffset + mytbwidth > XOffset) XOffset += 12; + if (itemInfo.ActiveFormat.PlantFormat.FormatData.PrintData.SupInfoAdjustXOffForLongTab && ((myTab.XOffset + mytbwidth + 12) > XOffset)) + XOffset = 12F + myTab.XOffset + mytbwidth; } // B2017-102: need to set width here since using Xoffset because AdjustWidth is called before this adjustment. Width = (float)itemInfo.MyDocStyle.Layout.PageWidth - XOffset - (sitabloc / 2);