From 94e4e5b9fd3da964c44b7b14227d6fe2bbb426d7 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期四, 02 四月 2020 13:56:39 +0800 Subject: [PATCH] 2020-04-02-2 --- ZigbeeApp/Shared/Phone/Device/Logic/AddScenePage.cs | 18 ++++++++++++------ 1 files changed, 12 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/AddScenePage.cs b/ZigbeeApp/Shared/Phone/Device/Logic/AddScenePage.cs index 0dd0501..c911959 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/AddScenePage.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/AddScenePage.cs @@ -314,7 +314,6 @@ }; middle.AddChidren(sceneFramelayout); - var sceneIconBtn = new Button { Width = Application.GetMinRealAverage(81), @@ -332,8 +331,7 @@ Width = Application.GetRealWidth(850), Height = Application.GetRealHeight(130), X = Application.GetRealWidth(176 + 10), - LineColor = ZigbeeColor.Current.LogicRowLayoutLineColor, - + LineColor = ZigbeeColor.Current.LogicBlankBackgroundColor, }; sceneFramelayout.AddChidren(sceneRow); @@ -349,15 +347,23 @@ var selectedBtn = new Button { - Width = Application.GetRealWidth(58), - Height = Application.GetRealHeight(58), + Width = Application.GetMinRealAverage(60), + Height = Application.GetMinRealAverage(60), X = Application.GetRealWidth(789), UnSelectedImagePath = "ZigeeLogic/selected.png", Visible = false, Gravity = Gravity.CenterVertical, }; sceneRow.AddChidren(selectedBtn); - + var lineBtn = new Button + { + Y = sceneFramelayout.Height - 1, + Width = Application.GetRealWidth(850), + Height = 1, + X = Application.GetRealWidth(176 + 10), + BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor, + }; + sceneFramelayout.AddChidren(lineBtn); EventHandler<MouseEventArgs> sceneclick = (sender, e) => { tempScene = scene; -- Gitblit v1.8.0