From 132ef8524e38d06da8cf74292a3ac1eff065bb1b Mon Sep 17 00:00:00 2001
From: tzy <274116637@qq.com>
Date: 星期二, 23 三月 2021 16:38:01 +0800
Subject: [PATCH] 整好新风的UI,待真实设备测试

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
index 908d600..d0d13eb 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/Matching.cs
@@ -105,8 +105,8 @@
             Button sumBtn = new Button
             {
                 Y = Application.GetRealHeight(267),
-                X = Application.GetRealWidth(170),
-                Width = Application.GetRealWidth(36),
+                X = Application.GetRealWidth(136),
+                Width = Application.GetRealWidth(104),
                 Height = Application.GetRealHeight(17),
                 Text = "(1/20)",
                 TextSize = TextSize.text12,
@@ -125,7 +125,7 @@
                 TextSize = TextSize.text16,
                 TextColor = CSS.CSS_Color.textConfirmColor,
                 TextAlignment = TextAlignment.Center,
-                Radius = (uint)Application.GetRealHeight(44),
+                Radius = (uint)Application.GetRealHeight(22),
                 BorderWidth = 1,
                 BorderColor = CSS.CSS_Color.textConfirmColor,
             };
@@ -141,7 +141,7 @@
                 TextSize = TextSize.text16,
                 TextColor = CSS.CSS_Color.textWhiteColor,
                 TextAlignment = TextAlignment.Center,
-                Radius = (uint)Application.GetRealHeight(44),
+                Radius = (uint)Application.GetRealHeight(22),
                 //BorderWidth = 1,
                 //BorderColor = CSS.CSS_Color.textConfirmColor,
                 BackgroundColor = CSS.CSS_Color.textConfirmColor,
@@ -180,7 +180,7 @@
             //娴嬭瘯Text
             testBtn.MouseUpEventHandler += (sender, e) =>
             {
-                var library = libraryList[index];
+                var library = libraryList[index-1];
                 var control = GetControl(spk, testBtn.TextID, library);
                 //鍙戦�佹祴璇曠爜鍛戒护
                 CodeTest(control);

--
Gitblit v1.8.0