简体   繁体   English

当系统字体设置为中等时,winform 无法正确显示

[英]winform is not displaying correctly when system font is set to medium

I have winform application having a parent form with tree control on the left side of it.我有一个 winform 应用程序,它的左侧有一个带有树控件的父表单。 Each click of a tree node will display perticular form as user control in the right side of the main form.每次单击树节点都会在主窗体的右侧显示特定窗体作为用户控件。 I used table lay out panels inside the user controls.我在用户控件内使用了表格布局面板。 Display look good in small system font.小系统字体显示效果很好。 But when I change the system font to medium, display does not look good.但是当我将系统字体更改为中等时,显示效果不佳。 But when I maximise the screen display looks good.但是当我最大化屏幕显示看起来不错。

It sounds the tree control is not wide enough to handle the text.听起来树控件不够宽,无法处理文本。 You should be able to test it in Design Mode by setting your system fonts to Medium.通过将系统 fonts 设置为中,您应该能够在设计模式下对其进行测试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM