From a4d525d08da7b6fb985b0069c539c11b06306a9b Mon Sep 17 00:00:00 2001
From: WJC <wjc@hdlchina.com.cn>
Date: 星期三, 13 十一月 2019 16:28:34 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/dev-tzy' into dev-wjc

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/ButtonBase.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/ButtonBase.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/ButtonBase.cs
index 587dde4..9427cee 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/ButtonBase.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/BaseCommonControl/Base/ButtonBase.cs
@@ -133,8 +133,8 @@
                 }
                 catch (Exception ex)
                 {
-                    //鍑虹幇鏈煡閿欒,鏁版嵁涓㈠け
-                    var alert = new ShowMsgControl(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnknownErrorAndDataLost));
+                    //鍑虹幇鏈煡閿欒
+                    var alert = new ShowMsgControl(ShowMsgType.Error, Language.StringByID(R.MyInternationalizationString.uUnKnownError));
                     alert.Show();
                     //Log鍑哄姏
                     HdlLogLogic.Current.WriteLog(ex);
@@ -230,7 +230,7 @@
                 //byteLength += Encoding.GetEncoding("gb2312").GetBytes(i_text[i].ToString()).Length;
             }
             int realWidth = byteLength * (int)textSize;
-            return Application.GetRealWidth(realWidth);
+            return Application.GetRealWidth(realWidth + 20);
         }
 
         /// <summary>
@@ -240,7 +240,7 @@
         {
             var btnShadow = new PicViewControl(this.Width, Application.GetMinRealAverage(45), false);
             btnShadow.X = this.X;
-            btnShadow.Y = this.Bottom - 1;
+            btnShadow.Y = this.Bottom;
             btnShadow.UnSelectedImagePath = "Item/BottomShadow.png";
             this.Parent.AddChidren(btnShadow);
         }

--
Gitblit v1.8.0