From ff3cfcf62632bf43e51a6b6098c203bf0f5cddbc Mon Sep 17 00:00:00 2001
From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local>
Date: 星期二, 24 十二月 2019 19:53:29 +0800
Subject: [PATCH] 2019.12.24

---
 ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionIconButton.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionIconButton.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionIconButton.cs
index 5fda24c..ac6d475 100644
--- a/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionIconButton.cs
+++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/FunctionIconButton.cs
@@ -60,12 +60,12 @@
         {
             ImageBG = new Button()
             {
-                Width = Application.GetMinRealAverage(207),
-                Height = Application.GetMinRealAverage(207),
+                Width = Application.GetRealWidth(207),
+                Height = Application.GetRealWidth(207),
                 Gravity = Gravity.Center,
                 BackgroundColor = ZigbeeColor.Current.GXCBackgroundColor,
                 SelectedBackgroundColor = ZigbeeColor.Current.GXCSelectedBackgroundColor,
-                Radius = (uint)Application.GetMinRealAverage(207 / 2)
+                Radius = (uint)Application.GetRealWidth(207 / 2)
             };
             AddChidren(ImageBG);
 

--
Gitblit v1.8.0