1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-05-11 20:34:07 +02:00

Fix FormMessage icon position on high DPI

This commit is contained in:
chylex 2017-07-09 17:24:01 +02:00
parent fe3fc5c9f7
commit 4a0d72d2cc

View File

@ -212,7 +212,7 @@ private void labelMessage_SizeChanged(object sender, EventArgs e){
protected override void OnPaint(PaintEventArgs e){
if (icon != null){
e.Graphics.DrawIcon(icon, 25, 26);
e.Graphics.DrawIcon(icon, BrowserUtils.Scale(25, dpiScale), BrowserUtils.Scale(26, dpiScale));
}
base.OnPaint(e);