首页 > 解决方案 > 如何修复 MetroMessageBox 标题大小显示问题

问题描述

我有使用 MetroMessageBox 的奇怪问题。当输入消息框的标题字符串时,它会削减字体的底部,如下所示:

在此处输入图像描述

我的代码只是 MessageBox 的声明,它在简单的 WinForm 中使用:

MetroMessageBox.Show(this, "Some message", "Notification g j p q y", MessageBoxButtons.OK, MessageBoxIcon.Information);

在文档中(链接)可能是这里的问题(在文件中):metroframework-modern-ui/MetroFramework/MessageBox/MetroMessageBoxControl.Designer.cs:

this.titleLabel.Size = new System.Drawing.Size(159, 32);

标签: c#sizemicrosoft-metrotitlemessagebox

解决方案


推荐阅读