Reduced newline height in printable document.
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ namespace UCalc
|
||||
|
||||
PrintDefaultFontSize = (double) converter.ConvertFromInvariantString("14pt");
|
||||
PrintSubjectFontSize = (double) converter.ConvertFromInvariantString("16pt");
|
||||
PrintNewlineFontSize = (double) converter.ConvertFromInvariantString("4pt");
|
||||
PrintNewlineFontSize = (double) converter.ConvertFromInvariantString("14pt");
|
||||
// ReSharper restore PossibleNullReferenceException
|
||||
|
||||
DinA4Padding = new Thickness(dinA4MarginLeftRight, dinA4MarginTopBottom, dinA4MarginLeftRight,
|
||||
|
||||
@@ -111,7 +111,7 @@ namespace UCalc
|
||||
|
||||
var cell = new TableCell {ColumnSpan = 2};
|
||||
row.Cells.Add(cell);
|
||||
cell.Blocks.Add(new Paragraph(new Run(new string('\n', count))
|
||||
cell.Blocks.Add(new Paragraph(new Run(new string('\n', count - 1))
|
||||
{FontSize = Constants.PrintNewlineFontSize}));
|
||||
}
|
||||
|
||||
@@ -230,7 +230,7 @@ namespace UCalc
|
||||
AddCost(result.TotalAmount > 0 ? "Einmalige Nachzahlung" : "Einmalige Rückzahlung", result.TotalAmount,
|
||||
true);
|
||||
|
||||
AddLineBreaks(2);
|
||||
AddLineBreaks(1);
|
||||
|
||||
if (result.TotalAmount > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user