From c7698e163e43cea9e7f8ee45f8e3f91c9265cca4 Mon Sep 17 00:00:00 2001 From: 黄学彪 <hxb@hdlchina.com.cn> Date: 星期一, 04 十一月 2019 19:11:41 +0800 Subject: [PATCH] 合并了全部的代码 --- ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs index 70913a4..31075f1 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/SafetyMasterControl.cs @@ -36,7 +36,7 @@ this.Gravity = Gravity.CenterHorizontal; this.Width = Application.GetRealWidth(964); this.Height = Application.GetRealHeight(340); - this.Radius = (uint)Application.GetMinRealAverage(20); + this.Radius = 20; this.BackgroundColor = UserCenterColor.Current.White; } @@ -52,14 +52,14 @@ //鍙充笂鍦嗚鑳屾櫙 var btnTopRight = new NormalViewControl(50, 50, true); btnTopRight.BackgroundColor = UserCenterColor.Current.White; - btnTopRight.Radius = (uint)Application.GetMinRealAverage(6); + btnTopRight.Radius = 6; this.AddChidren(btnTopRight); btnTopRight.X = this.Width - btnTopRight.Width; //宸︿笅鍦嗚鑳屾櫙 var btnBottomRight = new NormalViewControl(50, 50, true); btnBottomRight.BackgroundColor = UserCenterColor.Current.White; - btnBottomRight.Radius = (uint)Application.GetMinRealAverage(6); + btnBottomRight.Radius = 6; this.AddChidren(btnBottomRight); btnBottomRight.Y = this.Height - btnBottomRight.Height; @@ -373,7 +373,7 @@ int backHeight = Application.GetMinRealAverage(132); btnBack = new NormalViewControl(backHeight, backHeight, false); btnBack.Gravity = Gravity.CenterHorizontal; - btnBack.Radius = (uint)backHeight; + btnBack.Radius = (uint)backHeight / 2; btnBack.BackgroundColor = UserCenterColor.Current.BodyFrameLayout; this.AddChidren(btnBack, ChidrenBindMode.BindEventOnly); -- Gitblit v1.8.0