fix: use Small/Header fonts in sottostanti table in expired renderer
This commit is contained in:
@@ -238,7 +238,7 @@ public class ExpiredAnagraficaSectionRenderer : IPdfSectionRenderer
|
|||||||
for (int i = 0; i < headers.Length; i++)
|
for (int i = 0; i < headers.Length; i++)
|
||||||
{
|
{
|
||||||
hr.Cells[i].Value = headers[i];
|
hr.Cells[i].Value = headers[i];
|
||||||
hr.Cells[i].Style.Font = PdfTheme.TableBold;
|
hr.Cells[i].Style.Font = PdfTheme.Header;
|
||||||
hr.Cells[i].Style.BackgroundBrush = PdfTheme.TableHeaderBrush;
|
hr.Cells[i].Style.BackgroundBrush = PdfTheme.TableHeaderBrush;
|
||||||
hr.Cells[i].Style.TextBrush = PdfTheme.HeaderTextBrush;
|
hr.Cells[i].Style.TextBrush = PdfTheme.HeaderTextBrush;
|
||||||
hr.Cells[i].StringFormat = new PdfStringFormat(
|
hr.Cells[i].StringFormat = new PdfStringFormat(
|
||||||
@@ -262,7 +262,7 @@ public class ExpiredAnagraficaSectionRenderer : IPdfSectionRenderer
|
|||||||
|
|
||||||
for (int c = 0; c < headers.Length; c++)
|
for (int c = 0; c < headers.Length; c++)
|
||||||
{
|
{
|
||||||
row.Cells[c].Style.Font = PdfTheme.TableFont;
|
row.Cells[c].Style.Font = PdfTheme.Small;
|
||||||
row.Cells[c].StringFormat = new PdfStringFormat(
|
row.Cells[c].StringFormat = new PdfStringFormat(
|
||||||
c == 0 ? PdfTextAlignment.Left : PdfTextAlignment.Right);
|
c == 0 ? PdfTextAlignment.Left : PdfTextAlignment.Right);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user