From 179c377723a79384efed619e0a5880390998035e Mon Sep 17 00:00:00 2001 From: wxr <wxr@hdlchina.com.cn> Date: 星期二, 03 九月 2024 19:45:26 +0800 Subject: [PATCH] 金茂备份 --- HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs | 24 ++++++------------------ 1 files changed, 6 insertions(+), 18 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs index 8423a14..e0665d3 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Acst/InverterJinmaoPage.cs @@ -145,14 +145,14 @@ #if __IOS__ pvGenerate_TodayValuesButton.TextAlignment = TextAlignment.TopLeft; - pvGenerate_TodayValuesButton.Width = pvGenerate_TodayValuesButton.GetTextWidth() + Application.GetRealWidth(8); + pvGenerate_TodayValuesButton.Width = pvGenerate_TodayValuesButton.GetTextWidth() + Application.GetRealWidth(4); #else pvGenerate_TodayValuesButton.TextAlignment = TextAlignment.BottomLeft; - pvGenerate_TodayValuesButton.Width = pvGenerate_TodayValuesButton.GetTextWidth(); + pvGenerate_TodayValuesButton.Width = pvGenerate_TodayValuesButton.GetTextWidth() + Application.GetRealWidth(4); #endif pvGenerate_todayUintButton = new Button() { - Y = Application.GetRealWidth(45), + Y = Application.GetRealWidth(43), Height = Application.GetRealWidth(17), Text = "kw", TextColor = CSS_Color.MainBackgroundColor, @@ -215,7 +215,7 @@ var loadEle_TodayUintButton = new Button() { - Y = Application.GetRealWidth(45), + Y = Application.GetRealWidth(43), Height = Application.GetRealWidth(17), Text = "kw", TextColor = CSS_Color.MainBackgroundColor, @@ -709,7 +709,7 @@ #region 瀹炴椂鍏呯數鍔熺巼 var esRunStatus_ChargeValuesView = new FrameLayout() { - X = Application.GetRealWidth(17), + X = Application.GetRealWidth(15), Width = Application.GetRealWidth(128), Height = Application.GetRealWidth(128), }; @@ -743,7 +743,7 @@ #region 瀹炴椂鏀剧數鍔熺巼 var esRunStatus_DischargeValuesView = new FrameLayout() { - X = Application.GetRealWidth(132+15), + X = Application.GetRealWidth(132+13), Width = Application.GetRealWidth(128), Height = Application.GetRealWidth(128), }; @@ -838,11 +838,7 @@ TextAlignment = TextAlignment.BottomLeft, IsBold = true, }; -#if __IOS__ socialContribution_Info1_ValuesButton.Width = socialContribution_Info1_ValuesButton.GetTextWidth() + Application.GetRealWidth(8); -#else - socialContribution_Info1_ValuesButton.Width = socialContribution_Info1_ValuesButton.GetTextWidth(); -#endif socialContribution_InfoView_1.AddChidren(socialContribution_Info1_ValuesButton); var socialContribution_Info1_UintButton = new Button() @@ -908,11 +904,7 @@ TextAlignment = TextAlignment.BottomLeft, IsBold = true, }; -#if __IOS__ socialContribution_Info2_ValuesButton.Width = socialContribution_Info2_ValuesButton.GetTextWidth() + Application.GetRealWidth(8); -#else - socialContribution_Info2_ValuesButton.Width = socialContribution_Info2_ValuesButton.GetTextWidth(); -#endif socialContribution_InfoView_2.AddChidren(socialContribution_Info2_ValuesButton); var socialContribution_Info2_UintButton = new Button() @@ -978,11 +970,7 @@ TextAlignment = TextAlignment.BottomLeft, IsBold = true, }; -#if __IOS__ socialContribution_Info3_ValuesButton.Width = socialContribution_Info3_ValuesButton.GetTextWidth() + Application.GetRealWidth(8); -#else - socialContribution_Info3_ValuesButton.Width = socialContribution_Info3_ValuesButton.GetTextWidth(); -#endif socialContribution_InfoView_3.AddChidren(socialContribution_Info3_ValuesButton); var socialContribution_Info3_UintButton = new Button() -- Gitblit v1.8.0