From 3272ca5b51e19f7f8a827b0f68400570a547fe60 Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期二, 28 四月 2020 15:02:44 +0800 Subject: [PATCH] 2020-04-28-1 --- ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs | 12 +++++++----- 1 files changed, 7 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs old mode 100644 new mode 100755 index e657b38..a35381e --- a/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/LogicView/SelectedDeviceView.cs @@ -50,7 +50,7 @@ /// </summary> public Button deviceNameBtn = new Button { - Y = Application.GetRealHeight(20), + Y = Application.GetRealHeight(18), Height = Application.GetRealHeight(50), Width = Application.GetRealWidth(400), TextAlignment = TextAlignment.CenterLeft, @@ -64,7 +64,7 @@ /// </summary> public Button regionNameBtn = new Button { - Y = Application.GetRealHeight(10 + 70), + Y = Application.GetRealHeight(6+ 70), Width = Application.GetRealWidth(400), TextAlignment = TextAlignment.CenterLeft, Height = Application.GetRealHeight(50), @@ -89,8 +89,9 @@ public Button lineBtn = new Button { Width = Application.GetRealWidth(800), - Y=Application.GetRealHeight(130-5), - Height = Application.GetRealHeight(5), + // Y=Application.GetRealHeight(130-5), + Height =1,//Application.GetRealHeight(5), + X = Application.GetRealWidth(222), BackgroundColor = ZigbeeColor.Current.LogicRowLayoutLineColor, }; @@ -122,7 +123,8 @@ stateRow.AddChidren(regionNameBtn); stateRow.AddChidren(ordinaryBtn); stateRow.AddChidren(selecetddevicestateBtn); - stateRow.AddChidren(lineBtn); + lineBtn.Y = selecetdFrameLayout.Height - 1; + selecetdFrameLayout.AddChidren(lineBtn); } } -- Gitblit v1.8.0