B2020-161 Not all centered tables were properly centering. Needed to add logic to account for the use of a checkoff header. This was needed for tables that where approaching the defined width of the page.
This commit is contained in:
parent
fdead6e998
commit
9b724d17ac
@ -5142,8 +5142,10 @@ namespace Volian.Print.Library
|
||||
}
|
||||
else
|
||||
{
|
||||
// if the XOffset < High Level Step Text's XOffset , then align with the High Level Step Text
|
||||
if (XOffset < xLowerLimit && Width < (xUpperLimit - xLowerLimit))
|
||||
// if the XOffset < High Level Step Text's XOffset , then align with the High Level Step Text'
|
||||
// B2020-161 - needed to substract the checkoff width when deterniming the XOffset
|
||||
// fixes centered tables in Calvert Unit 2 STP O-90-2 step 6.3.A
|
||||
if (XOffset < xLowerLimit && Width < (xUpperLimit - xLowerLimit - hls1.CheckOffWidth))
|
||||
XOffset = xLowerLimit;
|
||||
|
||||
// if the right margin exceeds the right edge of the rightmost RNO, then adjust right edge to match.
|
||||
|
Loading…
x
Reference in New Issue
Block a user