From a01599caab3ed800d1fb1b8b60ba7840885fcaf8 Mon Sep 17 00:00:00 2001 From: WJC <wjc@hdlchina.com.cn> Date: 星期二, 31 十二月 2019 11:52:33 +0800 Subject: [PATCH] 2019-12-31-01 --- ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs b/ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs index 9dbe01c..6a9b586 100644 --- a/ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs +++ b/ZigbeeApp/Shared/Phone/Device/Logic/MemberList.cs @@ -296,6 +296,13 @@ string SelectedDeviceStatuscondition = ""; lockcolorfra1.Y = Application.GetRealHeight(1920 - 140 - (160 * user.UserIdMode.Count) - 20 - 50); lockcolorfra1.Height = Application.GetRealHeight(140 + (160 * user.UserIdMode.Count) + 20 + 50); + if (user.UserIdMode.Count > 10) + { + ///鍏冪礌瓒呭嚭10涓紝鏆傛椂榛樿鏄剧ず10; + lockcolorfra1.Y = Application.GetRealHeight(1920 - 140 - (160 * 10) - 20 - 50); + lockcolorfra1.Height = Application.GetRealHeight(140 + (160 * 10) + 20 + 50); + } + for (int i = 0; i < user.UserIdMode.Count; i++) { var userifon = user.UserIdMode[i]; -- Gitblit v1.8.0