Modified how the width of Notes and Cautions within RNO's are calculated

This commit is contained in:
Rich 2014-01-24 21:26:03 +00:00
parent 67cc3b59a0
commit 1a1913bece

View File

@ -3057,7 +3057,7 @@ namespace Volian.Print.Library
//Width = (float)vlnPrintObject.ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO) - tabWidth; //Width = (float)vlnPrintObject.ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO) - tabWidth;
} }
else else
Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT; Width = (MyParent.XOffset + MyParent.Width) - (XOffset + mycolT);
XOffset += mycolT; // adjust caution/note text position XOffset += mycolT; // adjust caution/note text position
if (PartsLeft != null && PartsLeft.Count > 0)// adjust tab position if (PartsLeft != null && PartsLeft.Count > 0)// adjust tab position
{ {