Revert to previous
This commit is contained in:
parent
2bd5ad58f1
commit
ddd973c83f
@ -1687,9 +1687,9 @@ namespace Volian.Print.Library
|
||||
bool dropCheckoff = itemInfo.ActiveFormat.PlantFormat.FormatData.ProcData.CheckOffData.DropCheckOff;
|
||||
if (itemInfo.MyContent.MyGrid != null)
|
||||
{
|
||||
VlnFlexGrid myFlexGrid = new VlnFlexGrid(1, 1);
|
||||
myFlexGrid.LoadGrid(itemInfo);
|
||||
MyGrid = new vlnTable(myFlexGrid, cb);
|
||||
//Use Static MyFlexGrid - BWD INST2 - FlexGrid Errors
|
||||
MyFlexGrid.LoadGrid(itemInfo);
|
||||
MyGrid = new vlnTable(MyFlexGrid, cb);
|
||||
Height = MyGrid.Height;
|
||||
Width = MyGrid.Width;
|
||||
|
||||
@ -1708,7 +1708,7 @@ namespace Volian.Print.Library
|
||||
|
||||
// if the table does not have a border, only move down one line:
|
||||
float yoffForBorder = 2 * SixLinesPerInch;
|
||||
if (myFlexGrid.BorderStyle == C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.None && !myFlexGrid.TopRowHasBorder())
|
||||
if (MyFlexGrid.BorderStyle == C1.Win.C1FlexGrid.Util.BaseControls.BorderStyleEnum.None && !MyFlexGrid.TopRowHasBorder())
|
||||
yoffForBorder -= SixLinesPerInch;
|
||||
|
||||
//yForCheckoff = yoff + Height - SixLinesPerInch;
|
||||
@ -1917,7 +1917,7 @@ namespace Volian.Print.Library
|
||||
if (MyTab != null) MyTab.YOffset = ChildrenRight[0].YOffset;
|
||||
if (PartsRight.Count > 0) PartsRight[0].YOffset = ChildrenRight[0].YOffset;
|
||||
if (ChildrenAbove.Count == 0)
|
||||
YTopMost = ChildrenRight[0].ChildrenAbove[0].YOffset;
|
||||
YTopMost = ChildrenRight[0].ChildrenAbove[0].YOffset;
|
||||
else
|
||||
YTopMost = ChildrenAbove[0].YOffset;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user