From 18c8ba14183bf72fd01e595124a9614bc4c7d6a3 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期一, 23 十月 2023 14:34:16 +0800 Subject: [PATCH] 2.3版本 --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TipPopView.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 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 7943ef1..f26af22 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TipPopView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TipPopView.cs @@ -550,7 +550,7 @@ } if (intValue < minValue || intValue > maxValue) { - errorId_IsNullOrEmpty = Language.StringByID(StringId.setvalue).Replace("1", minValue.ToString()).Replace("100", maxValue.ToString()); + errorId_IsNullOrEmpty = Language.StringByID(StringId.setvalue).Replace("{0}", minValue.ToString()).Replace("{1}", maxValue.ToString()); } } if (errorId_IsNullOrEmpty!="") @@ -564,8 +564,8 @@ btnTip.X = Application.GetRealWidth(53); btnTip.Y = editBjView.Bottom + Application.GetRealHeight(12); - btnTip.Width = Application.GetRealWidth(157);//200 - btnTip.Height = Application.GetRealHeight(17);//17 + btnTip.Width = Application.GetRealWidth(180);//200 + btnTip.Height = Application.GetRealHeight(20);//17 btnTip.Text = errorId_IsNullOrEmpty; btnTip.TextColor = CSS_Color.textRedColor; btnTip.TextSize = TextSize.text12; -- Gitblit v1.8.0