From fdf2472a13873ab3570e3c82de50896b8f5ac1cb Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期五, 18 十月 2019 17:34:53 +0800 Subject: [PATCH] 2019-10-18-2 --- ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs old mode 100755 new mode 100644 index 6d2082c..7e67cc1 --- a/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Device/DeviceListMainForm.cs @@ -19,7 +19,7 @@ /// <summary> /// 鍒楄〃鎺т欢 /// </summary> - private VerticalListControl listView = null; + private VerticalScrolViewLayout listView = null; /// <summary> /// 琛屾帶浠剁殑淇℃伅(Keys锛歁ac鍦板潃) /// </summary> @@ -127,7 +127,7 @@ txtSearchControl.BindEvent(this.SetRowDataBySearchKeys); //鍒楄〃鎺т欢 - listView = new VerticalListControl(29); + listView = new VerticalScrolViewLayout(); listView.Y = txtSearchControl.Bottom + Application.GetRealHeight(29); listView.Height = frame.Height - txtSearchControl.Bottom - Application.GetRealHeight(29); frame.AddChidren(listView); @@ -208,7 +208,7 @@ rowInfo.frameTable = frameTable; //鎺т欢 - var rowMenu = new DeviceObjectControl(deviceMac, listView.rowSpace / 2); + var rowMenu = new DeviceObjectControl(deviceMac, 0); frameTable.AddChidren(rowMenu); rowMenu.InitControl(); rowInfo.MenuRow = rowMenu; -- Gitblit v1.8.0