Changed: icon scaling

This commit is contained in:
Ray 2020-11-09 18:00:07 +00:00
parent 8e64366f1d
commit 9a4a727004

View File

@ -134,7 +134,8 @@ namespace AppLauncher.Windows.Forms
if (!DesignMode) if (!DesignMode)
{ {
g.DrawImageUnscaled(appIcon, 17, appIconTop); //g.DrawImageUnscaled(appIcon, 17, appIconTop);
g.DrawImage(appIcon, 17, appIconTop, appIcon.Width, appIcon.Height);
TextRenderer.DrawText(g, this.Text, titleFont, new Point(58, titleFontTop), titleColour); TextRenderer.DrawText(g, this.Text, titleFont, new Point(58, titleFontTop), titleColour);
} }