From 8da70e1a39328e1769b02bb1e05303916bb30eb5 Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期一, 01 二月 2021 13:55:31 +0800
Subject: [PATCH] 水阀功能

---
 HDL_ON/UI/UI2/1-HomePage/HomePage.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
index 918f406..77036d0 100644
--- a/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
+++ b/HDL_ON/UI/UI2/1-HomePage/HomePage.cs
@@ -325,14 +325,15 @@
 
                 btnChangeFunction = new Button()
                 {
-                    Width = Application.GetRealWidth(114),
+                    X = Application.GetRealWidth(10),
+                    Width = Application.GetRealWidth(114-10),
                     TextID = StringId.Functions,
                     SelectedTextColor = CSS_Color.MainColor,
                     TextColor = CSS_Color.PromptingColor1,
                     TextSize = CSS_FontSize.HeadlineFontSize,
                     TextAlignment = TextAlignment.Center,
                     IsSelected = true,
-                    IsBold = true
+                    IsBold = true,
                 };
                 changeView.AddChidren(btnChangeFunction);
 
@@ -349,7 +350,7 @@
                 btnChangeScene = new Button()
                 {
                     X = btnLine.Right,
-                    Width = Application.GetRealWidth(114),
+                    Width = Application.GetRealWidth(114-10),
                     TextID = StringId.Scenes,
                     SelectedTextColor = CSS_Color.MainColor,
                     TextColor = CSS_Color.PromptingColor1,
@@ -846,6 +847,7 @@
 
                     switch (function.Spk_Prefix)
                     {
+                        //todo 澧炲姞璁惧锛屼富椤垫敹钘忓浘鏍�
                         case FunctionCategory.Light:
                             #region 鐏厜 Light
                             btnIcon.UnSelectedImagePath = "FunctionIcon/Light/LightIcon.png";

--
Gitblit v1.8.0