Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15744

Windows 8.1 scaling causing display problem

$
0
0
I have no problem to use default windows scaling.
But I receive feedback someone cannot view it properly.
He used this application because he claim this can make the application run clearer at 125% scaling
Name:  cmdMD5.png
Views: 23
Size:  31.6 KB

This is the first time I know this app to use windows 8.1 scale also.
Now this is the problem came, now the application that I wrote can't display correctly anymore.
Because it resize the application, so coordinate also went wrong
Name:  teminalMD5.png
Views: 23
Size:  753 Bytes

Sure, for some coordinate I can recalculate using
Code:

Width + 2
But drawn element cannot, I take an example to this checkbox.
To draw the tick I am using
Code:

G.DrawString("a", New Font("Marlett", 16), New SolidBrush(Color.FromArgb(119, 250, 241)), New Point(-5, -3))
The issue is New Point(-5, -3). We can't fit this to every resolution like 100% scale, 125% scale etc.
What should I do?? Please help
Attached Images
  

Viewing all articles
Browse latest Browse all 15744

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>