From 94259bde69c75de291eb78317009573d9473ebb4 Mon Sep 17 00:00:00 2001
From: JLChen <551775569@qq.com>
Date: 星期二, 30 三月 2021 11:28:35 +0800
Subject: [PATCH] 2021-03-30 1.修复定时器取消选中星期无效问题。

---
 Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs b/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs
index ad804e0..08d9ebe 100644
--- a/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs
+++ b/Crabtree/SmartHome/UI/SimpleControl/Phone/Light/UserDeviceToLight.cs
@@ -484,7 +484,7 @@
                 bodyScrolView.AddChidren (btnRoomNull);
                 Button btnPoint = new Button () {
                     Width = Application.GetRealWidth (10),
-                    Height = Application.GetRealHeight (10),
+                    Height = Application.GetRealWidth (10),
                     X = Application.GetRealWidth (30),
                     Gravity = Gravity.CenterVertical,
                     UnSelectedImagePath = "Item/Point.png",
@@ -494,6 +494,7 @@
                 Button btnRoomName = new Button () {
                     Text = room.Name,
                     X = btnPoint.Right + Application.GetRealWidth (20),
+                    Width = Application.GetRealWidth(400),
                     TextAlignment = TextAlignment.CenterLeft,
                     TextColor = SkinStyle.Current.TextColor1,
                     SelectedTextColor = SkinStyle.Current.TextColor1,

--
Gitblit v1.8.0