diff --git a/CertReports.Syncfusion/Services/Implementations/ScenarioSectionRenderer.cs b/CertReports.Syncfusion/Services/Implementations/ScenarioSectionRenderer.cs index 1205938..341f8ec 100644 --- a/CertReports.Syncfusion/Services/Implementations/ScenarioSectionRenderer.cs +++ b/CertReports.Syncfusion/Services/Implementations/ScenarioSectionRenderer.cs @@ -44,15 +44,12 @@ public class ScenarioSectionRenderer : IPdfSectionRenderer float y = 0; // ── Titolo ──────────────────────────────────────────────────── - g.DrawString("Analisi Scenario", PdfTheme.SectionTitleFont, - PdfTheme.AccentBlueBrush, - new RectangleF(0, y, w, 20f), - new PdfStringFormat(PdfTextAlignment.Left)); - 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("Analisi Scenario", PdfTheme.Bold, + new PdfSolidBrush(PdfTheme.AccentBlue), + new RectangleF(6f, y, w, 14f)); + y += 16f; var scenario = data.Scenario; if (scenario.Rows.Count == 0)