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/3-Intelligence/Automation/LogicView/CheckView.cs | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/CheckView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/CheckView.cs
index 91144ac..80d1b2e 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/CheckView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/CheckView.cs
@@ -18,12 +18,13 @@
public Button btnText = new Button
{
TextSize = TextSize.text16,
- Width = Application.GetRealWidth(130),
+ Width = Application.GetRealWidth(300),
Height = Application.GetRealHeight(20),
TextColor = CSS.CSS_Color.textColor,
X = Application.GetRealWidth(20),
Gravity = Gravity.CenterVertical,
TextAlignment = TextAlignment.CenterLeft,
+ IsMoreLines = true,
};
@@ -32,8 +33,8 @@
/// </summary>
public Button btnCheckIcon = new Button
{
- Width = Application.GetMinRealAverage(28),
- Height = Application.GetMinRealAverage(28),
+ Width = Application.GetRealWidth(28),
+ Height = Application.GetRealWidth(28),
UnSelectedImagePath = "LogicIcon/weekoff.png",
SelectedImagePath = "LogicIcon/weekon.png",
X = Application.GetRealWidth(303),
--
Gitblit v1.8.0