support for ColT and WidT - caution and note position and width
This commit is contained in:
parent
5d8d8afcdc
commit
4080c3c189
@ -1428,6 +1428,15 @@ namespace Volian.Print.Library
|
||||
{
|
||||
Width = _WidthAdjust + ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO);
|
||||
}
|
||||
else if (itemInfo.IsCaution || itemInfo.IsNote)
|
||||
{
|
||||
float mycolT = (float)formatInfo.MyStepSectionLayoutData.ColT;
|
||||
Width = (float)formatInfo.MyStepSectionLayoutData.WidT - 6 - mycolT;
|
||||
XOffset += mycolT; // adjust caution/note text position
|
||||
if (PartsLeft != null)// adjust tab position
|
||||
foreach(vlnPrintObject vpo in PartsLeft)
|
||||
vpo.XOffset += mycolT;
|
||||
}
|
||||
else if (itemInfo.IsSection)
|
||||
{
|
||||
Width = _WidthAdjust + ToInt(formatInfo.MyStepSectionLayoutData.WidSTablePrint, maxRNO);
|
||||
|
Loading…
x
Reference in New Issue
Block a user