From 8adaa664b3f4a1f5e05434dc245cc5d168ad718c Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期一, 23 三月 2020 14:15:56 +0800 Subject: [PATCH] 2020-03-23-1 --- ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs | 17 ++++++++++++++--- 1 files changed, 14 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs index 0f453b8..c4d535f 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/RoomAndDeviceView.cs @@ -394,7 +394,7 @@ Height = Application.GetMinRealAverage(112), X = Application.GetRealWidth(58), Y = Application.GetRealHeight(30 + 9), - // Radius = (uint)Application.GetRealHeight(56), + Radius = (uint)Application.GetMinRealAverage(56), BackgroundColor = ZigbeeColor.Current.LogicMiddleBackgroundColor, }; deviceFramelayout.AddChidren(bjFramelayout); @@ -411,8 +411,9 @@ Y = Application.GetRealHeight(30), Width = Application.GetRealWidth(850), Height = Application.GetRealHeight(130), - X = Application.GetRealWidth(176 + 10), - LineColor = ZigbeeColor.Current.LogicRowLayoutLineColor, + X = Application.GetRealWidth(176 + 25), + //LineColor = ZigbeeColor.Current.LogicRowLayoutLineColor, + LineColor = ZigbeeColor.Current.LogicBlankBackgroundColor, }; deviceFramelayout.AddChidren(deviceRow); var devicename = new Button @@ -424,6 +425,16 @@ TextSize = 14, }; deviceRow.AddChidren(devicename); + + var lineBtn = new Button + { + Y = deviceFramelayout.Height-1, + Height = 1, + Width = Application.GetRealWidth(850), + X = Application.GetRealWidth(176 + 25), + BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor, + }; + deviceFramelayout.AddChidren(lineBtn); EventHandler<MouseEventArgs> devicclick = (sen, e) => { clickbutton.IsSelected = false; -- Gitblit v1.8.0