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; float y = 0;
// ── Titolo ───────────────────────────────────────────────────── // ── Titolo ─────────────────────────────────────────────────────
g.DrawString("Lista Eventi", PdfTheme.SectionTitleFont, // Accent line verticale sinistra (3pt wide, 14pt tall) + testo blue su sfondo bianco
new PdfSolidBrush(PdfTheme.AccentBlue), new RectangleF(0, y, w, 20f)); g.DrawRectangle(PdfTheme.AccentBlueBrush, new RectangleF(0, y, 3f, 14f));
y += 24f; g.DrawString("Lista Eventi", PdfTheme.Bold,
new PdfSolidBrush(PdfTheme.AccentBlue),
// Linea separatrice blu new RectangleF(6f, y, w, 14f));
g.DrawLine(PdfTheme.AccentBluePen, 0, y, w, y); y += 16f;
y += 8f;
// ── Griglia ──────────────────────────────────────────────────── // ── Griglia ────────────────────────────────────────────────────
var grid = new PdfGrid(); var grid = new PdfGrid();