Fixed text position of a bulleted substep off of a TitleWithTextRight substep (IP2 Enhanced Backgrounds)
This commit is contained in:
parent
36cafa9085
commit
73143c199c
@ -4183,6 +4183,13 @@ namespace Volian.Print.Library
|
|||||||
else if (itemInfo.MyParent.FormatStepData != null && itemInfo.MyParent.FormatStepData.Type == "TitleWithTextRight")
|
else if (itemInfo.MyParent.FormatStepData != null && itemInfo.MyParent.FormatStepData.Type == "TitleWithTextRight")
|
||||||
{
|
{
|
||||||
XOffset = MyParent.MyParent.XOffset;
|
XOffset = MyParent.MyParent.XOffset;
|
||||||
|
// if the step text has a tab, then we need to position the tab to the XOffset and then ajust the text XOffset
|
||||||
|
// by the length of the tab. - fix for IP2 backgrounds (ex. 2-ECA-3.3, step 6)
|
||||||
|
if (myTab != null)
|
||||||
|
{
|
||||||
|
myTab.XOffset = XOffset;
|
||||||
|
XOffset += (myTab.Text.Length * myTab.MyFont.CharsToTwips);//myTab.Width - myTab.XOffset;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (itemInfo.IsHigh)
|
if (itemInfo.IsHigh)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user