A change to fix column widths for Robinson single column procedures with sign-offs (Update 133) affected the widths of single column text with checkoffs for Wolf Creek. This has been fixed for both RNP & WCN
This commit is contained in:
parent
92a1a8cf4e
commit
1f74af6c0e
@ -3032,15 +3032,19 @@ namespace Volian.Print.Library
|
||||
float CheckOffAdj = 0;
|
||||
if (itemInfo.MyDocStyle.UseCheckOffs)
|
||||
{
|
||||
bool FmtHasAdj = false;
|
||||
if (formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffAdjustment != null)
|
||||
{
|
||||
FmtHasAdj = true;
|
||||
CheckOffAdj = -(float)formatInfo.PlantFormat.FormatData.ProcData.CheckOffData.CheckOffAdjustment;
|
||||
}
|
||||
if (!HasCheckOffHeading(itemInfo, formatInfo) && CheckOffAdj < 0)
|
||||
CheckOffAdj += (float)(9 * 7.2); // 9 is the size of the SIGNOFF adjustment
|
||||
else if (HasCheckOffHeading(itemInfo, formatInfo))
|
||||
else if (!FmtHasAdj && HasCheckOffHeading(itemInfo, formatInfo))
|
||||
// For Robinson, tried using font's CharsToTwips but it made it too narrow, so used hardcoded 6:
|
||||
CheckOffAdj = -((float)9 * 6);
|
||||
}
|
||||
float adjwidth = CheckOffAdj;
|
||||
float adjwidth = CheckOffAdj;
|
||||
SectData sd = formatInfo.PlantFormat.FormatData.SectData;
|
||||
if (sd.UseMetaSections)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user