Further refinements of printing Notes and Cautions within RNO column
This commit is contained in:
parent
1a1913bece
commit
9601b2c036
@ -3040,8 +3040,9 @@ namespace Volian.Print.Library
|
||||
float mycolT = (float)formatInfo.MyStepSectionLayoutData.ColT;
|
||||
if (formatInfo.MyStepSectionLayoutData.Dev_Format)
|
||||
Width = (float)formatInfo.MyStepSectionLayoutData.WidT + 1;
|
||||
else if (itemInfo.IsInRNO && itemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.AdjustRNOCautionNoteWidth)
|
||||
else if (itemInfo.IsInRNO)// && itemInfo.ActiveFormat.PlantFormat.FormatData.SectData.StepSectionData.AdjustRNOCautionNoteWidth)
|
||||
{
|
||||
/*
|
||||
float widadj = tabWidth;
|
||||
ItemInfo pinfo = itemInfo.MyParent;
|
||||
// walk up the parent nodes (but only in the RNO) and
|
||||
@ -3055,9 +3056,11 @@ namespace Volian.Print.Library
|
||||
}
|
||||
Width = (float)vlnPrintObject.ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO) - widadj;
|
||||
//Width = (float)vlnPrintObject.ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO) - tabWidth;
|
||||
*/
|
||||
Width = (MyParent.XOffset + MyParent.Width) - (XOffset + mycolT);
|
||||
}
|
||||
else
|
||||
Width = (MyParent.XOffset + MyParent.Width) - (XOffset + mycolT);
|
||||
Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT;
|
||||
XOffset += mycolT; // adjust caution/note text position
|
||||
if (PartsLeft != null && PartsLeft.Count > 0)// adjust tab position
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user