From a75f121124e90619b2853ad079ae0a733366b022 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期二, 08 十二月 2020 14:48:30 +0800
Subject: [PATCH] 2020-12-08-1

---
 HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
index 1356c70..08e3756 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
@@ -72,8 +72,8 @@
         /// </summary>
         public Button btnSwitchIcon = new Button
         {
-            Width = Application.GetMinRealAverage(36),
-            Height = Application.GetMinRealAverage(36),
+            Width = Application.GetRealWidth(36),
+            Height = Application.GetRealWidth(36),
             Y = Application.GetRealHeight(58),
             X = Application.GetRealWidth(295),
             UnSelectedImagePath = "LogicIcon/off.png",

--
Gitblit v1.8.0