logic to align Note and Cautions that use the box logic without a box

This commit is contained in:
John Jenko 2013-07-19 01:53:18 +00:00
parent 247ad3fdac
commit 20903705be

View File

@ -2254,6 +2254,14 @@ namespace Volian.Print.Library
}
}
}
else if (((colOvrd ?? 0) != 0) && formatInfo.PlantFormat.FormatData.SectData.StepSectionData.StepSectionLayoutData.NullBox)
{
float tabOffset = (myTab == null ? 0 : myTab.XOffset) - XOffset;
XOffset = (float)colOvrd;
if (myTab != null) myTab.XOffset = XOffset + tabOffset;
return;
}
else if (bxIndx != null)
{
Box bx = formatInfo.PlantFormat.FormatData.BoxList[(int)bxIndx];