From 955d02679c2c22bd3debd40a71510d78a8256cc4 Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期二, 07 十一月 2023 11:06:31 +0800 Subject: [PATCH] 场景使能自动化优化 --- HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddOutputPage.cs | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddOutputPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddOutputPage.cs index e1dd248..e5fa65d 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddOutputPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddOutputPage.cs @@ -51,13 +51,15 @@ public void LoadPage() { bodyView.BackgroundColor = CSS_Color.BackgroundColor; - new TopViewDiv(bodyView, Language.StringByID(StringId.AddFunction)).LoadTopView(); + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.AddFunction)); + topView.maginY = 10; + topView.LoadTopView(); #region 鏄剧ず鐨勫姛鑳界被鍨嬪垏鎹㈠尯鍩� showdFunctionTypeRow = new FrameLayout() { - Y = Application.GetRealHeight(64), - Height = Application.GetRealHeight(62), + Y = Application.GetRealHeight(64+10), + Height = Application.GetRealHeight(53), BackgroundColor = CSS_Color.MainBackgroundColor, }; bodyView.AddChidren(showdFunctionTypeRow); @@ -87,12 +89,21 @@ showdFunctionTypeRow.AddChidren(btnFloor); LoadDialog_ChangeFloor(); + + showdFunctionTypeRow.AddChidren(new Button() + { + Height = 1, + Y = Application.GetRealHeight(52), + BackgroundColor = CSS_Color.DividingLineColor + }); + + #endregion functionListView = new VerticalScrolViewLayout() { Y = showdFunctionTypeRow.Bottom, - Height = Application.GetRealHeight(530 - 100), + Height = Application.GetRealHeight(530-60-10), BackgroundColor = CSS_Color.BackgroundColor, }; bodyView.AddChidren(functionListView); -- Gitblit v1.8.0