From e96e11d6f8b965ea522c983e040d41e3b9ef105a Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 18 五月 2020 21:33:19 +0800
Subject: [PATCH] 2020-05-18-4

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs |   28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs
index f626800..eb6a9cc 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconViewControl.cs
@@ -1,16 +1,16 @@
-锘縰sing System;
-using System.Collections.Generic;
-using System.Text;
-
-namespace Shared.Phone.UserCenter
-{
+锘縰sing System;
+using System.Collections.Generic;
+using System.Text;
+
+namespace Shared.Phone.UserCenter
+{
     /// <summary>
     /// 鍋氭垚涓�涓樉绀哄浘鏍囩殑鎺т欢(闇�瑕佹墜鍔ㄥ紑鍚偣鍑荤姸鎬�)
     /// </summary>
     public class IconViewControl : IconControlCommon
     {
-        /// <summary>
-        /// 鍥炬爣澶у皬
+        /// <summary>
+        /// 鍥炬爣澶у皬
         /// </summary>
         public int IconSize = 0;
         /// <summary>
@@ -20,12 +20,12 @@
         /// <param name="real">鏄惁璁$畻鐪熷疄鍊�</param>
         public IconViewControl(int size = 110, bool real = true)
         {
-            this.InitAvgSize(size, size, real);
+            this.InitIconSize(size, size, real);
             this.IconSize = size;
-            if (real == true)
-            {
-                this.IconSize = Application.GetMinRealAverage(size);
+            if (real == true)
+            {
+                this.IconSize = this.GetPictrueRealSize(size);
             }
         }
-    }
-}
+    }
+}

--
Gitblit v1.8.0