Properly position OR at the top of a page when required
This commit is contained in:
parent
9e059a37f5
commit
b3abf86b9f
@ -955,7 +955,8 @@ namespace Volian.Print.Library
|
||||
|
||||
// If there is a box, adjust the yTopMost to include it.
|
||||
float yTopMost = YTopMost;
|
||||
//if (YVeryTop < yTopMost) Console.WriteLine("{0},{1},{2}", MyItemInfo.DBSequence, yTopMost, YVeryTop);
|
||||
if ((MyItemInfo.IsCautionPart || MyItemInfo.IsNotePart) && MyParent.PartsAbove.Count > 0)
|
||||
yTopMost = MyParent.PartsAbove[0].YOffset;
|
||||
yTopMost = Math.Min(yTopMost, YVeryTop);
|
||||
yPageStart = yTopMargin + yTopMost;// -2 * SixLinesPerInch;
|
||||
DoCheckOffHeader(cb, MyItemInfo, yLocation, yTopMargin, yPageStart);
|
||||
|
Loading…
x
Reference in New Issue
Block a user