From 43b0d5870d528f23ecd6aeceb6cfd4325188b46f Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 01 七月 2021 15:50:43 +0800 Subject: [PATCH] Revert "1" --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TipPopView.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TipPopView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TipPopView.cs index acb78cb..c842a69 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TipPopView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TipPopView.cs @@ -555,12 +555,13 @@ btnTip.X = Application.GetRealWidth(53); btnTip.Y = editBjView.Bottom + Application.GetRealHeight(12); - btnTip.Width = Application.GetRealWidth(200); - btnTip.Height = Application.GetRealHeight(17); + btnTip.Width = Application.GetRealWidth(157);//200 + btnTip.Height = Application.GetRealHeight(24);//17 btnTip.Text = errorId_IsNullOrEmpty; btnTip.TextColor = CSS_Color.textRedColor; btnTip.TextSize = TextSize.text12; btnTip.TextAlignment = TextAlignment.CenterLeft; + btnTip.IsMoreLines = true; return; } @@ -892,9 +893,9 @@ /// 淇℃伅鎻愮ず绐楀彛锛岃嚜鍔ㄥ叧闂� /// </summary> /// <param name="msg">鎻愮ず閿欒鏂囨湰</param> - public void FlashingBox(string msg) + public void FlashingBox(string msg,int time=2) { - new PublicAssmebly().TipMsgAutoClose(msg, false, 2000); + new PublicAssmebly().TipMsgAutoClose(msg, false, time*1000); } /// <summary> -- Gitblit v1.8.0