From 263401d40b2d9d2c1b36a24f33d45c5cb7192518 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 23 十二月 2020 15:51:54 +0800 Subject: [PATCH] 20201223-6 --- HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs old mode 100644 new mode 100755 index 16782af..380a351 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/FunTpye.cs @@ -82,6 +82,7 @@ Height = Application.GetRealHeight(44 * 5), }; var roomList = LogicMethod.GetGatewayRoomList(Language.StringByID(StringId.allAreas)); + if (roomList.Count > 5) { bghFrameLyout.Height = Application.GetRealHeight(21 + 44 * 5); @@ -157,7 +158,7 @@ FrameLayout bghFrameLyout = new FrameLayout { - X = Application.GetRealWidth(10), + X = Application.GetRealWidth(118), Y = Application.GetRealHeight(103), Width = Application.GetRealWidth(160), Height = Application.GetRealHeight(21 + 44), -- Gitblit v1.8.0