Separate Boxed Cautions/notes & AdjHighLevelTab for High Level RNO location
This commit is contained in:
parent
a75e3cdebd
commit
3f3b835538
@ -92,7 +92,11 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
else // Change Box Style
|
else // Change Box Style
|
||||||
{
|
{
|
||||||
if (bxIndx != null)
|
bool handleSeparateBox = true;
|
||||||
|
if (childItemInfo.IsCaution && !childItemInfo.FormatStepData.SeparateBoxCautions) handleSeparateBox = false;
|
||||||
|
if (childItemInfo.IsNote && !childItemInfo.FormatStepData.SeparateBox) handleSeparateBox = false;
|
||||||
|
|
||||||
|
if (bxIndx != null && (handleSeparateBox || bxIndex != bxIndx))
|
||||||
{
|
{
|
||||||
if (box != null)
|
if (box != null)
|
||||||
{
|
{
|
||||||
@ -1209,8 +1213,10 @@ namespace Volian.Print.Library
|
|||||||
}
|
}
|
||||||
else if (mytab != null)
|
else if (mytab != null)
|
||||||
{
|
{
|
||||||
mytab.XOffset += mytab.Width;
|
float adjusttab = (itemInfo.MyParent.IsHigh) ? itemInfo.FormatStepData.AdjHighLevelTab??0 : 0;
|
||||||
|
mytab.XOffset += (mytab.Width + adjusttab);
|
||||||
XOffset = mytab.XOffset + mytab.Width;
|
XOffset = mytab.XOffset + mytab.Width;
|
||||||
|
if (adjusttab != 0) Width += (mytab.Width);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(adjustAgain)
|
if(adjustAgain)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user