fix: use Small/Header fonts in sottostanti table (consistent with eventi)

This commit is contained in:
2026-03-23 17:23:49 +01:00
parent b93a16ce6e
commit 1f67285ae6

View File

@@ -400,7 +400,7 @@ public class AnagraficaSectionRenderer : 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(
@@ -425,7 +425,7 @@ public class AnagraficaSectionRenderer : 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);
} }