From 1b032e3d1fad42148e558bb4466c9285f43bd2ac Mon Sep 17 00:00:00 2001 From: jensschaefer <33423024+jensschaefer@users.noreply.github.com> Date: Sun, 12 Jul 2020 14:16:01 +0200 Subject: [PATCH] Aligned Icon in the middle of the Notification Bar Resolves #19 --- percentage/percentage/TrayIcon.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/percentage/percentage/TrayIcon.cs b/percentage/percentage/TrayIcon.cs index d3643c6..fa33e7c 100644 --- a/percentage/percentage/TrayIcon.cs +++ b/percentage/percentage/TrayIcon.cs @@ -86,7 +86,7 @@ private Image DrawText(String text, Font font, Color textColor, Color backColor) using (Brush textBrush = new SolidBrush(textColor)) { graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias; - graphics.DrawString(text, font, textBrush, 0, 0); + graphics.DrawString(text, font, textBrush, 0, 5.0F); graphics.Save(); } }