From e76381c3393d284f3f8ab61930cb6b71f18b2d6b Mon Sep 17 00:00:00 2001
From: wxr <wxr@hdlchina.com.cn>
Date: 星期二, 13 八月 2024 14:43:43 +0800
Subject: [PATCH] 金茂定制热水器,光伏储能,UI完成

---
 HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs
index d179519..18f467b 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Acst/AcstSubPage.cs
@@ -119,7 +119,7 @@
             var tempValuesView = new FrameLayout()
             {
                 X = Application.GetRealWidth(21),
-                Y = Application.GetRealWidth(17),
+                Y = Application.GetRealWidth(22),
                 Width = Application.GetRealWidth(130),
                 Height = Application.GetRealWidth(132),
             };
@@ -159,7 +159,7 @@
             var humiValuesView = new FrameLayout()
             {
                 X = Application.GetRealWidth(130+21),
-                Y = Application.GetRealWidth(17),
+                Y = Application.GetRealWidth(22),
                 Width = Application.GetRealWidth(130),
                 Height = Application.GetRealWidth(132),
             };
@@ -174,7 +174,12 @@
                 Text = function.GetAttrState(AcstSub_AttrEnum.room_humidity.ToString(),"---"),
                 TextAlignment = TextAlignment.TopRight,
             };
+
+#if __IOS__
+            btnHumiValues.Width = btnTempValues.GetTextWidth() + Application.GetRealWidth(10);
+#else
             btnHumiValues.Width = btnTempValues.GetTextWidth();
+#endif
             btnHumiValues.Gravity = Gravity.CenterHorizontal;
             humiValuesView.AddChidren(btnHumiValues);
             var btnHumiValuesUint = new Button()

--
Gitblit v1.8.0