From 6144d4267f92db9be96a7003f4352732bfe9bb3b Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期四, 19 三月 2020 17:49:31 +0800
Subject: [PATCH] 2020-03-19-1

---
 ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs
index b283963..9b8d4d4 100644
--- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs
+++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/Addview.cs
@@ -34,8 +34,8 @@
         public Button iconBtn = new Button
         {
 
-            Width = Application.GetRealWidth(58),
-            Height = Application.GetRealHeight(58),
+            Width = Application.GetMinRealAverage(58),
+            Height = Application.GetMinRealAverage(58),
             UnSelectedImagePath = "ZigeeLogic/add.png",
             X = Application.GetRealWidth(1080 - 58-58),
             Y = Application.GetRealHeight(30 + 36),
@@ -44,8 +44,8 @@
 
         public Button switchBtn = new Button
         {
-            Width = Application.GetMinRealAverage(104),
-            Height = Application.GetMinRealAverage(63),
+            Width = Application.GetRealWidth(104),
+            Height = Application.GetRealHeight(63),
             UnSelectedImagePath = "ZigeeLogic/logicclose.png",
             SelectedImagePath = "ZigeeLogic/logicopen.png",
             X = Application.GetRealWidth(1080 - 58 - 104),

--
Gitblit v1.8.0