From 3532db3610381f37eca1a6ac783d882517847c91 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期三, 31 三月 2021 15:28:49 +0800
Subject: [PATCH] Merge branch 'WJC' into temp-wxr
---
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
index 32f8898..2a67225 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs
@@ -10,7 +10,7 @@
public FrameLayout frameLayout = new FrameLayout
{
X = Application.GetRealWidth(16),
- Y = Application.GetRealHeight(12),
+ //Y = Application.GetRealHeight(12),
Width = Application.GetRealWidth(343),
Height = Application.GetRealHeight(102),
BackgroundColor = CSS.CSS_Color.view,
@@ -48,8 +48,8 @@
/// </summary>
public Button btnStateIcon = new Button
{
- Width = Application.GetMinRealAverage(28),
- Height = Application.GetMinRealAverage(28),
+ Width = Application.GetRealWidth(28),
+ Height = Application.GetRealWidth(28),
Y = Application.GetRealHeight(8),
X = Application.GetRealWidth(TextSize.left12),
@@ -60,8 +60,8 @@
public Button btnLienIcon = new Button
{
- Width = Application.GetMinRealAverage(20),
- Height = Application.GetMinRealAverage(20),
+ Width = Application.GetRealWidth(20),
+ Height = Application.GetRealWidth(20),
Y = Application.GetRealHeight(66),
X = Application.GetRealWidth(48),
@@ -72,8 +72,8 @@
/// </summary>
public Button btnSwitchIcon = new Button
{
- Width = Application.GetMinRealAverage(36),
- Height = Application.GetMinRealAverage(36),
+ Width = Application.GetRealWidth(36),
+ Height = Application.GetRealWidth(36),
Y = Application.GetRealHeight(58),
X = Application.GetRealWidth(295),
UnSelectedImagePath = "LogicIcon/off.png",
@@ -81,7 +81,7 @@
};
/// <summary>
- /// 鍥炬爣寮�鍏�
+ /// 鐐瑰嚮浜嬩欢
/// </summary>
public Button btnclick= new Button
{
--
Gitblit v1.8.0