B2022-002: BNPP1new - Step and section text printing into the INITIAL column
This commit is contained in:
@@ -6507,6 +6507,15 @@ namespace Volian.Print.Library
|
||||
Width = Width + (float)formatInfo.PlantFormat.FormatData.SectData.SectionHeader.Pos;
|
||||
else if (itemInfo.MyDocStyle.AlignHLSTabWithSect)
|
||||
Width = Width - (float)formatInfo.PlantFormat.FormatData.SectData.SectionHeader.Pos;
|
||||
|
||||
// B2022-002: Section text is printing into the INITIAL column (BNPP1new). If this flag is set adjust the width of the
|
||||
// section text to that of the first hls (child) text and its tab. This is to prevent the very long section titles (that should have
|
||||
// been steps) from extending into the INITIAL (checkoff) column.
|
||||
if (formatInfo.PlantFormat.FormatData.SectData.AdjWidthForCheckOff && MyParent != null && MyParent.MyItemInfo.IsSection && ChkOff && CheckOffWidth != 0 && itemInfo.ItemID == itemInfo.FirstSibling.ItemID)
|
||||
{
|
||||
SectionInfo si = MyParent.MyItemInfo.GetSectionInfo();
|
||||
if (si.HasInitials) MyParent.Width = Width + ((myTab == null) ? 0 : myTab.Width);
|
||||
}
|
||||
}
|
||||
else if (bxIndx != null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user