From 48c07e0a371f67b97abc7c2e61d7f23d060324fc Mon Sep 17 00:00:00 2001
From: wxr <464027401@qq.com>
Date: 星期四, 28 一月 2021 18:24:53 +0800
Subject: [PATCH] Merge branch 'dev-tzy' into NewFilePath

---
 HDL_ON/UI/UI2/1-HomePage/HomePage.cs |    7 ++++---
 1 files changed, 4 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..a3bf4c3 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,

--
Gitblit v1.8.0