B2019-049 Added check for table in a Caution or Note to the TableLocation() logic
B2019-049 when printing a table that is inside a note or cation, use the single column setting of the TableCenterPos format value
This commit is contained in:
@@ -2185,7 +2185,8 @@ namespace Volian.Controls.Library
|
||||
int center = aboveForLocation.ContentLeft + aboveForLocation.ContentWidth / 2;
|
||||
int rightLimit = aboveForLocation.Right;
|
||||
// Then should center on the wid Limit
|
||||
if ((MyItemInfo.FormatStepData.Type.Contains("AER") == false && MyItemInfo.RNOLevel == 0) && !MyItemInfo.IsInSupInfo)
|
||||
// B2019-049 added check for the table being in a Caution or Note
|
||||
if ((MyItemInfo.FormatStepData.Type.Contains("AER") == false && MyItemInfo.RNOLevel == 0) && !MyItemInfo.IsInSupInfo && !MyItemInfo.IsInCautionOrNote)
|
||||
{
|
||||
// B2017-043 COLR is used as a Width
|
||||
int colR = MyStepPanel.ToDisplay(MyStepSectionLayoutData.ColRTable, MyItemInfo.ColumnMode);
|
||||
|
Reference in New Issue
Block a user