HDL_ON/UI/UI0-Stan/Controls/MessageControls/ShowMsgControl.cs
@@ -120,6 +120,13 @@ btnTemp.Text = msgText.Replace("\r\n", string.Empty); //获取这个显示的内容的高度 int rowCount = btnTemp.GetRealRowCountByText(); //再看看它原来按换行符分割为几行 var myArry = msgText.Split(new string[] { "\r\n" }, StringSplitOptions.RemoveEmptyEntries); //看看谁的行数多,就用谁的 if (myArry.Length > rowCount) { rowCount = myArry.Length; } int contentHeight = rowCount * Application.GetRealHeight(18); if (rowCount <= 2) {