From d6fb0646531172f23648441c224cdcccd721b894 Mon Sep 17 00:00:00 2001
From: xm <1271024303@qq.com>
Date: 星期一, 14 十二月 2020 09:59:01 +0800
Subject: [PATCH] 请合并代码,完成晾衣架最终功能。

---
 ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/BottomItemSelectForm.cs |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/BottomItemSelectForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/BottomItemSelectForm.cs
index e149453..9ed3269 100755
--- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/BottomItemSelectForm.cs
+++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Form/BottomItemSelectForm.cs
@@ -109,9 +109,8 @@
             topBackFame.AddChidren(btnTitle);
 
             //鍙栨秷
-            var btnCancel = new NormalViewControl(200, 58, true);
+            var btnCancel = new NormalViewControl(Application.GetRealWidth(200), topBackFame.Height, false);
             btnCancel.X = Application.GetRealWidth(81);
-            btnCancel.Y = Application.GetRealHeight(40);
             btnCancel.TextColor = UserCenterColor.Current.TextGrayColor1;
             btnCancel.TextID = R.MyInternationalizationString.uCancel;
             topBackFame.AddChidren(btnCancel);
@@ -121,9 +120,8 @@
             };
 
             //瀹屾垚
-            var btnFinish = new NormalViewControl(200, 58, true);
-            btnFinish.X = Application.GetRealWidth(800);
-            btnFinish.Y = Application.GetRealHeight(40);
+            var btnFinish = new NormalViewControl(Application.GetRealWidth(200), topBackFame.Height, false);
+            btnFinish.X = topBackFame.Width - btnCancel.X - Application.GetRealWidth(200);
             btnFinish.TextAlignment = TextAlignment.CenterRight;
             btnFinish.TextColor = 0xfffb744a;
             btnFinish.TextID = R.MyInternationalizationString.uFinish;

--
Gitblit v1.8.0