From b8cbf4a8b6910eefcb83b6d3a39e9b5b5a9cd79e Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期五, 10 一月 2020 16:39:22 +0800 Subject: [PATCH] 2019.1.10 --- ZigbeeApp/Shared/Phone/UserCenter/Safety/SafetyManagementMainForm.cs | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Safety/SafetyManagementMainForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Safety/SafetyManagementMainForm.cs index 37253bc..b9a5c0f 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Safety/SafetyManagementMainForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Safety/SafetyManagementMainForm.cs @@ -69,7 +69,7 @@ frameBack.Height = Application.GetRealHeight(1300); frameBack.Y = Application.GetRealHeight(444); frameBack.BackgroundColor = 0xa1ffffff; - frameBack.SetCornerWithSameRadius(20, HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); + frameBack.SetCornerWithSameRadius(Application.GetRealHeight(58), HDLUtils.RectCornerTopLeft | HDLUtils.RectCornerTopRight); bodyFrameLayout.AddChidren(frameBack); //妗屽竷鎺т欢 @@ -117,6 +117,7 @@ btnSensor.TextSize = 16; btnSensor.TextAlignment = TextAlignment.Center; btnSensor.TextColor = UserCenterColor.Current.TextColor2; + btnSensor.IsBold = true; frameSensor.AddChidren(btnSensor, ChidrenBindMode.BindEventOnly); //搴曠嚎 var btnSensorLine = new NormalViewControl(40, 10, true); @@ -132,8 +133,10 @@ //瀛椾綋澶у皬鍜岄鑹插彉鏇� btnSensor.TextColor = UserCenterColor.Current.TextGrayColor3; btnSensor.TextSize = 14; + btnSensor.IsBold = false; btnLog.TextColor = UserCenterColor.Current.TextColor2; btnLog.TextSize = 16; + btnLog.IsBold = true; btnLogLine.Visible = true; btnSensorLine.Visible = false; @@ -150,8 +153,10 @@ //瀛椾綋澶у皬鍜岄鑹插彉鏇� btnSensor.TextColor = UserCenterColor.Current.TextColor2; btnSensor.TextSize = 16; + btnSensor.IsBold = true; btnLog.TextColor = UserCenterColor.Current.TextGrayColor3; btnLog.TextSize = 14; + btnLog.IsBold = false; btnLogLine.Visible = false; btnSensorLine.Visible = true; @@ -185,7 +190,7 @@ btnIcon.ButtonClickEvent += (sender, e) => { //鑿滃崟鎺т欢 - var frameMenu = new TopRightMenuControl(2); + var frameMenu = new TopRightMenuControl(2, 2); //闃插尯鍒楄〃 string menu1 = Language.StringByID(R.MyInternationalizationString.uGarrisonAreaList); frameMenu.AddRowMenu(menu1, "Item/GarrisonList.png", "Item/GarrisonListSelected.png", () => @@ -423,6 +428,8 @@ } } } + //璋冩暣鍒楄〃鎺т欢楂樺害 + listView.AdjustChidrenFrameHeight(listView.frameTable, Application.GetRealHeight(46)); //寮�鍚紶鎰熷櫒鎶ヨ鐩戣 this.StartCheckDeviceAlarm(); //寮�鍚澶囧湪绾跨洃娴� @@ -483,7 +490,7 @@ var control = this.dicSensorStatuView[mainkey]; //鑾峰彇浼犳劅鍣ㄦ姤璀︿俊鎭殑缈昏瘧鏂囨湰 var msgInfo = HdlAlarmsLogic.Current.GetSensorAlarmInfo(device); - Application.RunOnMainThread(() => + HdlThreadLogic.Current.RunMain(() => { control?.SetSensoReportInfo(msgInfo); }); -- Gitblit v1.8.0