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:
parent
fe3fc5c9f7
commit
4a0d72d2cc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user