问题描述
大家好,
我在高dpi设置下显示.NET Windows应用程序时遇到问题.
所有表单都设置为AutoScaleMode = DPI,但这不能解决所有问题.
基本上,标签最终会扩展以应付字体较大的问题,但是其他控件的位置不会改变,并且最终导致标签遮盖了其他控件或彼此之间.
屏幕应该看起来像这样:http://www.manageinvest.com/good.jpg ..并且在高DPI下,它最终看起来像这样:http://www.manageinvest.com/bad.jpg
有什么建议吗?
预先感谢,
Kristian
Hi All,
I have a problem with the display of our .NET Windows application under high dpi settings.
All forms are set to AutoScaleMode = DPI, but this does not solve all the problems.
Basically labels end up expanding in size to cope woth the font being bigger, but the location of other controls does not change and we end up with lables obscuring other controls or eachother.
The screen should look like this: http://www.manageinvest.com/good.jpg ..and on high DPI it ends up looking like this:http://www.manageinvest.com/bad.jpg
Any suggestions?
Thanks in advance,
Kristian
推荐答案
这篇关于如何正确处理高DPI? (WinApp VB.NET)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!