From 57ddcc855793fd41d1dca73bc1b6006713859d55 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期四, 20 五月 2021 17:40:08 +0800
Subject: [PATCH] 2021-5-20-1

---
 HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs
index 8c536c0..109b77c 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs
@@ -38,7 +38,7 @@
         {
             Y = Application.GetRealHeight(16),
             X = Application.GetRealWidth(72),
-            Width = Application.GetRealWidth(120),
+            Width = Application.GetRealWidth(120+80),
             Height = Application.GetRealHeight(20),
             //Text = pirDevice.name,
             TextAlignment = TextAlignment.CenterLeft,
@@ -147,6 +147,7 @@
             geBtn.Width = geBtn.GetTextWidth();
             devfLayout.AddChidren(sumBtn);
             sumBtn.X = geBtn.Right;
+            sumBtn.TextAlignment = TextAlignment.CenterLeft;
             devfLayout.AddChidren(stateIconBtn);
             devfLayout.AddChidren(stateTextBtn);
             devfLayout.AddChidren(lineBtn);

--
Gitblit v1.8.0