From 6d458e4338993e578ce81c6b3c4738e85b68b4df Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 02 九月 2021 10:41:49 +0800 Subject: [PATCH] 1.窗帘控制界面去掉按钮状态。 2.RGB灯光渐变时间标题异常显示问题修复。 --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 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 e1487c5..2a67225 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/SingleLogicView.cs @@ -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), -- Gitblit v1.8.0