From a154c3ce81601e3c202d3c5f4d0a8cefc5a7e8ae Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 02 三月 2022 11:49:15 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/release0123' into wjc --- HDL_ON/UI/UI2/FuntionControlView/Electrical/SocketPage.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Electrical/SocketPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Electrical/SocketPage.cs index 96945a4..240cb13 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Electrical/SocketPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Electrical/SocketPage.cs @@ -180,7 +180,7 @@ Text = function.GetAttrState("total_electricity"), TextAlignment = TextAlignment.BottomLeft, }; - btnTotalElectricity.Width = btnTotalElectricity.GetTextWidth(); + btnTotalElectricity.Width = btnTotalElectricity.GetTextWidth()+ Application.GetRealWidth(5); controlView.AddChidren(btnTotalElectricity); var btnTotalElectricityUnit = new Button() { -- Gitblit v1.8.0