fix: DrawSectionLabel title style in eventi renderer

This commit is contained in:
2026-03-23 17:17:21 +01:00
parent de7148c5cb
commit 031a1acc1a

View File

@@ -30,13 +30,12 @@ public class EventiSectionRenderer : IPdfSectionRenderer
float y = 0;
// ── Titolo ─────────────────────────────────────────────────────
g.DrawString("Lista Eventi", PdfTheme.SectionTitleFont,
new PdfSolidBrush(PdfTheme.AccentBlue), new RectangleF(0, y, w, 20f));
y += 24f;
// Linea separatrice blu
g.DrawLine(PdfTheme.AccentBluePen, 0, y, w, y);
y += 8f;
// Accent line verticale sinistra (3pt wide, 14pt tall) + testo blue su sfondo bianco
g.DrawRectangle(PdfTheme.AccentBlueBrush, new RectangleF(0, y, 3f, 14f));
g.DrawString("Lista Eventi", PdfTheme.Bold,
new PdfSolidBrush(PdfTheme.AccentBlue),
new RectangleF(6f, y, w, 14f));
y += 16f;
// ── Griglia ────────────────────────────────────────────────────
var grid = new PdfGrid();