fix: use Small/Header fonts in sottostanti table (consistent with eventi)
This commit is contained in:
@@ -400,7 +400,7 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer
|
||||
for (int i = 0; i < headers.Length; 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.TextBrush = PdfTheme.HeaderTextBrush;
|
||||
hr.Cells[i].StringFormat = new PdfStringFormat(
|
||||
@@ -425,7 +425,7 @@ public class AnagraficaSectionRenderer : IPdfSectionRenderer
|
||||
|
||||
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(
|
||||
c == 0 ? PdfTextAlignment.Left : PdfTextAlignment.Right);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user