From 71fd5b743d0c5e46ba686449e7f855e91a688886 Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期五, 24 三月 2023 17:29:57 +0800
Subject: [PATCH] 修改tip最大宽度

---
 HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs
index b108f57..0eb7ff8 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Light/LightScene/AddLightScene.cs
@@ -421,6 +421,10 @@
                 SelectedImagePath = "FunctionIcon/Light/LightScene/CheckOnIcon.png",
                 IsSelected = functions.Find((obj) => obj.deviceId == function.deviceId) != null
             };
+            if (DB_ResidenceData.Instance.CurrentRegion.isSupportGroupControl)
+            {
+                btnSelect.X = Application.GetRealWidth(323);
+            }
             bodyDiv.AddChidren(btnSelect);
             
             btnSelect.MouseUpEventHandler = (sender, e) => {

--
Gitblit v1.8.0