From 607e4db3b1a4ad059fc8d719117dab7eae9f20d2 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 19 七月 2023 09:48:51 +0800 Subject: [PATCH] Merge branch 'wjc' into Dev-1.9 --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputView.cs | 13 +++++++++++++ 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputView.cs index 96dc683..a1c9ea6 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/AddOutputInputView.cs @@ -62,6 +62,17 @@ X = Application.GetRealWidth(165-10), TextAlignment = TextAlignment.CenterRight, }; + /// <summary> + /// 锛堟潯浠舵垨鑰呯洰鏍囷級鑹茬洏涓撶敤 + /// </summary> + public Button btnStateColor = new Button + { + Width = Application.GetRealWidth(10), + Height = Application.GetRealWidth(10), + Radius = (uint)Application.GetRealHeight(5), + X = Application.GetRealWidth(315 - 10), + Visible=false, + }; /// <summary> /// 锛堟潯浠舵垨鑰呯洰鏍囷級鍥炬爣 @@ -122,12 +133,14 @@ verticalScrolView.AddChidren(frameLayout); frameLayout.AddChidren(rowLayout); btnIcon.Gravity = Gravity.CenterVertical; + btnStateColor.Gravity = Gravity.CenterVertical; btnText.Gravity = Gravity.CenterVertical; btnText.TextAlignment = TextAlignment.CenterLeft; btnNextIcon.Gravity = Gravity.CenterVertical; rowLayout.AddChidren(btnIcon); rowLayout.AddChidren(btnText); rowLayout.AddChidren(btnState); + rowLayout.AddChidren(btnStateColor); rowLayout.AddChidren(btnNextIcon); rowLayout.AddRightView(btnDelay); rowLayout.AddRightView(btnDel); -- Gitblit v1.8.0