UI Truncation on Localized Win7 Versions

大憨熊 提交于 2019-12-06 13:29:27

It can be difficult to get a "fixed size" form like a wizard to behave itself when the OS DPI setting is changed, and I'd imagine you may have similar problems with different language editions of Windows. (The biggest difficulties are having to constantly reboot your PC to test it, and that the Forms Designer is affected by the current OS/Font/DPI settings, so you can't edit the form in your test environment because then it won't work when you return to your coding environment!)

Forms are scaled by default based on the font and DPI settings on the destination computer. In the Form properties, look for the AutoScaleMode option, and try setting it to "DPI" or "None" instead of "Font".

Another option that may help is the MinimumSize property, which may help you to stop the window becoming too small while still allowing it to grow for "Large Fonts" modes.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!