From a1b0ab7044100daaa7e0f1da2d2ca45e38098963 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 29 三月 2021 09:13:25 +0800
Subject: [PATCH] 2021-3-29-2
---
HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs | 24 ++++--------------------
1 files changed, 4 insertions(+), 20 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 27d39e7..d2fe09a 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs
@@ -47,28 +47,12 @@
IsBold = true,
};
-
- /// <summary>
- /// 鐗堟湰鍙�
- /// </summary>
- public Button versionBtn = new Button
- {
- Y = Application.GetRealHeight(40),
- X = Application.GetRealWidth(72),
- Width = Application.GetRealWidth(120),
- Height = Application.GetRealHeight(17),
- Text = "鐗堟湰鍙穠1.3.5",
- TextAlignment = TextAlignment.CenterLeft,
- TextSize = TextSize.text12,
- TextColor = CSS.CSS_Color.textCancelColor,
- };
-
/// <summary>
/// 褰撳墠涓暟
/// </summary>
- public Button geBtn = new Button
+ public TextButton geBtn = new TextButton
{
- Y = Application.GetRealHeight(59),
+ Y = Application.GetRealHeight(40),
X = Application.GetRealWidth(72),
Width = Application.GetRealWidth(120),
Height = Application.GetRealHeight(17),
@@ -83,7 +67,7 @@
/// </summary>
public Button sumBtn = new Button
{
- Y = Application.GetRealHeight(59),
+ Y = Application.GetRealHeight(40),
Width = Application.GetRealWidth(50),
Height = Application.GetRealHeight(17),
Text = "/10",
@@ -159,11 +143,11 @@
devfLayout.Height = Application.GetRealHeight(92 + (50 * i));
devfLayout.AddChidren(priequipmentBtn);
devfLayout.AddChidren(deviceNameBtn);
- devfLayout.AddChidren(versionBtn);
devfLayout.AddChidren(geBtn);
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