From 270b3d8539f6b4a991a9ebf3b3a9eceb436d61d5 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期四, 28 十月 2021 17:08:02 +0800 Subject: [PATCH] 自动化地址问题修复 --- HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs | 20 ++++++++++---------- 1 files changed, 10 insertions(+), 10 deletions(-) diff --git a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs index 4a2d600..fe8f4e1 100644 --- a/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs +++ b/HDL_ON/UI/UI2/3-Intelligence/Automation/LogicView/TopView.cs @@ -91,15 +91,15 @@ //鑾峰彇瀹藉害 int widthValue = topNameBtn.GetTextWidth(); int textWidth = (Application.GetRealWidth(255) - widthValue) / 2; - Button locationBtn = new Button - { - Width = Application.GetRealWidth(18), - Height = Application.GetRealWidth(18), - X = Application.GetRealWidth(60 + 4) + textWidth + widthValue, - Y = Application.GetRealHeight(34 + 1), - UnSelectedImagePath = "LogicIcon/location.png", - }; - frameLayout.AddChidren(locationBtn); + //Button locationBtn = new Button + //{ + // Width = Application.GetRealWidth(18), + // Height = Application.GetRealWidth(18), + // X = Application.GetRealWidth(60 + 4) + textWidth + widthValue, + // Y = Application.GetRealHeight(34 + 1), + // UnSelectedImagePath = "LogicIcon/location.png", + //}; + //frameLayout.AddChidren(locationBtn); Button textBtn = new Button { @@ -107,7 +107,7 @@ Y = Application.GetRealHeight(57), TextSize = LogicView.TextSize.text10, TextColor = CSS.CSS_Color.textCancelColor, - //Text = "骞夸笢骞垮窞甯傜暘绂哄尯鐭虫ゼ闀�", + Text = Entity.DB_ResidenceData.Instance.CurrentRegion.homeAddress ,// "骞夸笢骞垮窞甯傜暘绂哄尯鐭虫ゼ闀�", }; frameLayout.AddChidren(textBtn); } -- Gitblit v1.8.0