From e75ccccb370b47305c6eadb321efb27c86cdd28b Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 30 十一月 2021 09:57:24 +0800 Subject: [PATCH] 合并 --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs index 85a312b..19b5abb 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/LogicTypeTitleView.cs @@ -65,16 +65,21 @@ /// View鐨勬柟娉� /// </summary> /// <returns></returns> - public FrameLayout FLayoutView() + public FrameLayout FLayoutView(bool hadLine = true) { btnText.TextAlignment = TextAlignment.CenterLeft; btnNextIcon.Gravity = Gravity.CenterVertical; frameLayout.AddChidren(btnText); frameLayout.AddChidren(btnNextIcon); - btnLine.Y = frameLayout.Height - 1; - frameLayout.AddChidren(btnLine); + if (hadLine) + { + btnLine.Y = frameLayout.Height - 1; + frameLayout.AddChidren(btnLine); + } frameLayout.AddChidren(btnClick); return frameLayout; } + + } } -- Gitblit v1.8.0