UI控件重叠和放大器;在Windows中的字体问题窗体应用程序 [英] UI Controls Overlapping & Fonts Issue in Windows Forms Application

查看:148
本文介绍了UI控件重叠和放大器;在Windows中的字体问题窗体应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经做了Windows窗体应用程序。我有一些控件的窗体。
中的控件重叠,同时字体会自动改变,在一些地方的字体走在白色的按钮,文本框。我附上了图片更多的了解。

I have made a Windows Forms Application. I have a form with some controls. The Controls overlap, and also Fonts are changed automatically, at some places the fonts go White in Buttons, TextBoxes. I am attaching a picture for more understanding.

1

1:

这发生在一些最终用户的系统,我无法找不到为什么这个问题时。

This happens in some End User's Systems, I am unable t find why this issue occurs.

任何帮助,将不胜感激。

Any help would be appreciated.

日Thnx提前

推荐答案

如果您正在使用的系统字体和颜色,你的WinForms应用程序是在操作系统的字体和颜色设置怜悯。

If you are using system fonts and colours, your winforms application is at the mercy of the operating system's font and colour settings.

例如,如果你的按钮的前景色属性设置为ControlText(系统颜色),而不是黑色(例如),您的应用程序将使用任何操作系统的前景色属性设置为被渲染。

For example, if the ForeColor property of your buttons is set to ControlText (a system colour) rather than black (for example), your application will be rendered using whatever the operating system's ForeColor property is set to.

另外请记住,操作系统的字体大小设置将影响布局的形式。如果操作系统的字体大小被设定为125%或150%时可能会遇到的重叠的问题。

Also keep in mind that the operating system's Font Size setting will impact the layout of your forms. If the operating system's font size is set to 125% or 150% you may experience overlapping issues.

这篇关于UI控件重叠和放大器;在Windows中的字体问题窗体应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆