From a4924de3136289d10cabbf2f61a228387d44ded7 Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期四, 07 十一月 2019 13:48:36 +0800 Subject: [PATCH] Merge branch 'dev-tzy' into DEV_GXC --- ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs | 10 ++++------ 1 files changed, 4 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs index b3e6f0f..efd7e12 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/Panel/PanelBackLightSettionForm.cs @@ -135,14 +135,14 @@ //褰撳墠浜害 var btnProgressView1 = new NormalViewControl(200, 49, true); btnProgressView1.X = ControlCommonResourse.XXLeft; - btnProgressView1.Y = Application.GetRealHeight(161); + btnProgressView1.Y = Application.GetRealHeight(164); btnProgressView1.TextSize = 12; btnProgressView1.TextColor = UserCenterColor.Current.TextGrayColor1; btnProgressView1.TextID = R.MyInternationalizationString.uNowLuminance; frameBack.AddChidren(btnProgressView1); var btnProgress1 = new NormalViewControl(200, 49, true); btnProgress1.X = Application.GetRealWidth(222); - btnProgress1.Y = Application.GetRealHeight(158); + btnProgress1.Y = Application.GetRealHeight(164); btnProgress1.TextSize = 12; btnProgress1.TextColor = UserCenterColor.Current.TextGrayColor1; btnProgress1.Text = energyModeInfo.level + "%"; @@ -291,13 +291,12 @@ uint backColor = this.GetColorByRGB((byte)R1, (byte)G1, (byte)B1); var btnColor = new NormalViewControl(Application.GetMinRealAverage(69), Application.GetMinRealAverage(69), false); btnColor.X = btnColorView.Right + Application.GetRealHeight(23); - btnColor.Radius = (uint)Application.GetMinRealAverage(69); + btnColor.Radius = (uint)Application.GetMinRealAverage(69) / 2; btnColor.BackgroundColor = backColor; frameColor.AddChidren(btnColor, ChidrenBindMode.BindEventOnly); var btnRight = new NormalViewControl(Application.GetMinRealAverage(58), Application.GetMinRealAverage(58), false); btnRight.UnSelectedImagePath = "Item/Next.png"; - btnRight.BackgroundColor = UserCenterColor.Current.Green; btnRight.X = frameColor.Width - Application.GetMinRealAverage(58); frameColor.AddChidren(btnRight, ChidrenBindMode.BindEventOnly); btnRight.Y += Application.GetMinRealAverage(8); @@ -419,13 +418,12 @@ uint backColor = this.GetColorByRGB((byte)R1, (byte)G1, (byte)B1); var btnColor = new NormalViewControl(Application.GetMinRealAverage(69), Application.GetMinRealAverage(69), false); btnColor.X = btnColorView.Right + Application.GetRealHeight(23); - btnColor.Radius = (uint)Application.GetMinRealAverage(69); + btnColor.Radius = (uint)Application.GetMinRealAverage(69) / 2; btnColor.BackgroundColor = backColor; frameColor.AddChidren(btnColor, ChidrenBindMode.BindEventOnly); var btnRight = new NormalViewControl(Application.GetMinRealAverage(58), Application.GetMinRealAverage(58), false); btnRight.UnSelectedImagePath = "Item/Next.png"; - btnRight.BackgroundColor = UserCenterColor.Current.Green; btnRight.X = frameColor.Width - Application.GetMinRealAverage(58); frameColor.AddChidren(btnRight, ChidrenBindMode.BindEventOnly); btnRight.Y += Application.GetMinRealAverage(8); -- Gitblit v1.8.0