开发者

DateTimePicker in ToolStripControlHost cut off with different DPI settings

DateTimePicker in ToolStripControlHost cut off with different DPI settings

In the picture above there are two DateTimePicker controls in a Form. The u开发者_如何转开发pper DateTimePicker is inside a ToolStripControlHost, which is inside a ToolStrip control.

When I have my Windows DPI settings set to the defaults, the two DateTimePickers display correctly. However, after changing the DPI settings to Medium, the text of the upper DateTimePicker gets cut off and the control doesn't scale like the bottom DateTimePicker does.

Any ideas on how to get the DateTimePicker inside the ToolStripControlHost to display correctly?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜