From 50e36953d27104324cbea1b78b6da767e41d3541 Mon Sep 17 00:00:00 2001 From: Rich Date: Tue, 14 Nov 2017 18:49:55 +0000 Subject: [PATCH] B2017-253 Tab on a sup info item too far to the left. The code was changed to keep the tab inside the left margin. --- PROMS/Volian.Print.Library/vlnParagraph.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/PROMS/Volian.Print.Library/vlnParagraph.cs b/PROMS/Volian.Print.Library/vlnParagraph.cs index a70685c7..aa3eab62 100644 --- a/PROMS/Volian.Print.Library/vlnParagraph.cs +++ b/PROMS/Volian.Print.Library/vlnParagraph.cs @@ -5507,6 +5507,8 @@ namespace Volian.Print.Library if (myTab != null) { myTab.XOffset = XOffset - ((myTab == null) ? 0 : myTab.Width) - 12; + // B2017-253 - Limit the tab offset to 2 points inside the left margin + myTab.XOffset = Math.Max(myTab.XOffset,itemInfo.MyDocStyle.Layout.LeftMargin ?? 72)+2; myTab.Width = 2.5f * myTab.Width; } // B2017-102: need to set width here since using Xoffset because AdjustWidth is called before this adjustment.