From c7df85937f73fb347ee0b19e9c052d2d00a6df6c Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期五, 18 九月 2020 13:58:19 +0800
Subject: [PATCH] 新版本

---
 ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection3Form.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection3Form.cs b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection3Form.cs
index 1919e16..69bdde4 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection3Form.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/Gateway/Add/WirelessApDirection3Form.cs
@@ -63,8 +63,8 @@
 
             //鍥剧墖
             var framePic = new FrameLayout();
-            framePic.Width = Application.GetMinRealAverage(861);
-            framePic.Height = Application.GetMinRealAverage(245);
+            framePic.Width = this.GetPictrueRealSize(861);
+            framePic.Height = this.GetPictrueRealSize(245);
             framePic.Gravity = Gravity.CenterHorizontal;
             framePic.Y = Application.GetRealHeight(363);
             framePic.BackgroundImagePath = "Gateway/WirelessApGatewaySearching.png";
@@ -98,7 +98,7 @@
             };
             bodyFrameLayout.AddChidren(btnSettion);
             //搴曠嚎
-            int lineWidth = btnSettion.GetRealWidthByText(12);
+            int lineWidth = btnSettion.GetRealWidthByText();
             var btnLine1 = new NormalViewControl(lineWidth, ControlCommonResourse.BottomLineHeight, false);
             btnLine1.BackgroundColor = 0xff0075ff;
             btnLine1.Gravity = Gravity.CenterHorizontal;

--
Gitblit v1.8.0