From 17c8d94258154ab2e9f6d2cf821202c873b9f118 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 16 十二月 2020 15:39:15 +0800
Subject: [PATCH] 22222
---
HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs
index ac37f82..70dcbe9 100644
--- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs
+++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/brightnessView.cs
@@ -61,8 +61,8 @@
/// </summary>
public Button btn_subtract = new Button
{
- Width = Application.GetMinRealAverage(24),
- Height = Application.GetMinRealAverage(24),
+ Width = Application.GetRealWidth(24),
+ Height = Application.GetRealWidth(24),
X = Application.GetRealWidth(26),
Y = Application.GetRealHeight(118),
UnSelectedImagePath = "LogicIcon/-.png",
@@ -82,7 +82,7 @@
{
Y = Application.GetRealHeight(103),//杩涘害鏉$埗鎺т欢Y鍧愭爣
X = Application.GetRealWidth(62-10),//杩涘害鏉鍧愭爣
- SeekBarPadding=Application.GetRealHeight(10),//杩涘害鏉″疄闄呴暱搴�=244-12*2(鍐呰竟璺�);
+ SeekBarPadding=Application.GetRealHeight(10),//杩涘害鏉″疄闄呴暱搴�=244-10*2(鍐呰竟璺�);
Width = Application.GetRealWidth(240),//杩涘害鏉$殑闀垮害
Height = Application.GetRealHeight(54),//杩涘害鏉$埗鎺т欢楂樺害
IsProgressTextShow = true,//鏄剧ず鐧惧垎姣�
@@ -99,8 +99,8 @@
/// </summary>
public Button btn_add = new Button
{
- Width = Application.GetMinRealAverage(24),
- Height = Application.GetMinRealAverage(24),
+ Width = Application.GetRealWidth(24),
+ Height = Application.GetRealWidth(24),
X = Application.GetRealWidth(294),
Y = Application.GetRealHeight(118),
UnSelectedImagePath = "LogicIcon/+.png",
@@ -131,14 +131,12 @@
frameLayout.AddChidren(seekBarVol);
frameLayout.AddChidren(btn_add);
frameLayout.AddChidren(btn_add_click);
-
- ////鐣岄潰鐐瑰嚮浜嬩欢
- fLayout.MouseUpEventHandler += (sender, e1) =>
+ //鍙栨秷鐐瑰嚮浜嬩欢
+ btnCancel.MouseUpEventHandler += (sender, e1) =>
{
//绉婚櫎fLayout鐣岄潰
fLayout.RemoveFromParent();
};
- //鍙栨秷鐐瑰嚮浜嬩欢
}
}
--
Gitblit v1.8.0