From c1d681f496f2e1c53f88472d803e3c95fab521af Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 29 七月 2021 09:46:16 +0800
Subject: [PATCH] 萤石测试通过
---
HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs
index f77216c..cefa915 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/ArmCenter/ArmCenterPage.cs
@@ -26,7 +26,7 @@
VerticalScrolViewLayout contentView = new VerticalScrolViewLayout()
{
Y = Application.GetRealHeight(64),
- Height = Application.GetRealHeight(603),
+ Height = Application.GetRealHeight(667 - 64),
BackgroundColor = CSS_Color.MainBackgroundColor,
ScrollEnabled = false,
};
@@ -71,6 +71,7 @@
{
X = Application.GetRealWidth(23),
Height = Application.GetRealWidth(80),
+ ScrollEnabled = false,
};
contentView.AddChidren(customDeploymentView);
@@ -84,6 +85,11 @@
Language.StringByID(StringId.HouseDefense));
customDeploymentView.AddChidren(view);
+ if(FunctionList.List.securities.Count>3)
+ {
+ customDeploymentView.ScrollEnabled = true;
+ }
+
foreach (var mode in FunctionList.List.securities)
{
}
@@ -96,7 +102,7 @@
var fixedDeploymentView = new FrameLayout()
{
- Height = Application.GetRealHeight(123),
+ Height = Application.GetRealHeight(133),
};
contentView.AddChidren(fixedDeploymentView);
@@ -129,6 +135,7 @@
{
Y = btnFixedDeploymentTip.Bottom + Application.GetRealHeight(15),
Height = Application.GetRealHeight(80),
+ ScrollEnabled = false,
};
fixedDeploymentView.AddChidren(fixedDeploymentTypeView);
--
Gitblit v1.8.0