fix: DrawSectionLabel title style in scenario renderer
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user