From 163777d8a2cb7cfa469f54a7042528870ebc10a3 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 09 十二月 2019 17:46:20 +0800 Subject: [PATCH] 一个新版本 --- ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs b/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs old mode 100755 new mode 100644 index 092dc54..311d957 --- a/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/DeviceStateCondition.cs @@ -24,9 +24,10 @@ Button clickbutton = new Button(); Button clicktextcolcrbutton = new Button(); - public void Show() + public void Show() { + UserView.HomePage.Instance.ScrollEnabled = false; this.BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor; #region 鏈�涓婇潰鐨勫竷灞�浠g爜 @@ -134,7 +135,7 @@ }; this.AddChidren(devicetypehorizontalScrol); - devicetypehorizontalScrol.SetCornerWithSameRadius(20,HDLUtils.RectCornerBottomLeft); + devicetypehorizontalScrol.SetCornerWithSameRadius(Application.GetRealHeight(50), HDLUtils.RectCornerBottomLeft); middle = new VerticalScrolViewLayout(); middle.Y = devicetypehorizontalScrol.Bottom + Application.GetRealHeight(40); @@ -143,7 +144,7 @@ middle.X = Application.GetRealWidth(58); //middle.Radius = (uint)Application.GetRealHeight(50); this.AddChidren(middle); - middle.SetCornerWithSameRadius(20, HDLUtils.RectCornerTopLeft); + middle.SetCornerWithSameRadius(Application.GetRealHeight(50), HDLUtils.RectCornerTopLeft); ///鐩墠鏀寔鐨勮澶� var deviceTypeList = new List<DeviceType> { DeviceType.IASZone, @@ -733,7 +734,7 @@ // Radius = (uint)Application.GetRealHeight(60), }; flMain.AddChidren(devicefra); - devicefra.SetCornerWithSameRadius(20, HDLUtils.RectCornerTopLeft|HDLUtils.RectCornerTopRight); + devicefra.SetCornerWithSameRadius(Application.GetRealHeight(50), HDLUtils.RectCornerTopLeft|HDLUtils.RectCornerTopRight); #region -------鍙栨秷 瀹屾垚 var timetype = new RowLayout @@ -1238,6 +1239,7 @@ Width = Application.GetRealWidth(600), TextAlignment = TextAlignment.CenterLeft, TextColor = ZigbeeColor.Current.LogicBtnNotSelectedColor, + TextSize=14, }; timeoutrowlayout.AddChidren(btntimeout); -- Gitblit v1.8.0