From cbc156bc38d8b8eae7aef60cb186ab2b52fa701f Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 16 七月 2024 13:59:56 +0800 Subject: [PATCH] 增加全部挂断 --- HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs index 62856f2..3088b95 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/AddAlarmDeploymentPage.cs @@ -41,14 +41,16 @@ contentView = new VerticalScrolViewLayout() { - Y = Application.GetRealHeight(64), - Height = Application.GetRealHeight(527), + Y = Application.GetRealHeight(64+10), + Height = Application.GetRealHeight(527-10), }; bodyView.AddChidren(contentView); if (string.IsNullOrEmpty(title)) { - new TopViewDiv(bodyView, Language.StringByID(StringId.AddSecurity)).LoadTopView(); + var topView = new TopViewDiv(bodyView, Language.StringByID(StringId.AddSecurity)); + topView.maginY = 10; + topView.LoadTopView(); #region 甯冮槻淇℃伅 var deploymentTitleRow = new FrameLayout() { @@ -166,7 +168,9 @@ } else { - new TopViewDiv(bodyView, title).LoadTopView(); + var topView = new TopViewDiv(bodyView, title); + topView.maginY = 10; + topView.LoadTopView(); securityAlarm.status = "enable"; } @@ -657,7 +661,7 @@ securityAlarm.output.Remove(delTemp); } outputRow.RemoveFromParent(); - outputTargetView.Height = Application.GetRealHeight(65 * securityAlarm.output.Count); + outputTargetView.Height = Application.GetRealHeight(65 * securityAlarm.output.Count + 50 ); }; outputRow.SetDelClickeEvent(eventHandler); } -- Gitblit v1.8.0