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.
This commit is contained in:
parent
203baaf699
commit
50e36953d2
@ -5507,6 +5507,8 @@ namespace Volian.Print.Library
|
|||||||
if (myTab != null)
|
if (myTab != null)
|
||||||
{
|
{
|
||||||
myTab.XOffset = XOffset - ((myTab == null) ? 0 : myTab.Width) - 12;
|
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;
|
myTab.Width = 2.5f * myTab.Width;
|
||||||
}
|
}
|
||||||
// B2017-102: need to set width here since using Xoffset because AdjustWidth is called before this adjustment.
|
// B2017-102: need to set width here since using Xoffset because AdjustWidth is called before this adjustment.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user