From 9463fa981945f278a639a1303192272732415f22 Mon Sep 17 00:00:00 2001 From: tzy <hxb@hdlchina.com.cn> Date: 星期一, 29 三月 2021 09:20:38 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/temp-wxr' into dev-tzy --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs index 1567c59..d2fe09a 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs @@ -50,7 +50,7 @@ /// <summary> /// 褰撳墠涓暟 /// </summary> - public Button geBtn = new Button + public TextButton geBtn = new TextButton { Y = Application.GetRealHeight(40), X = Application.GetRealWidth(72), @@ -147,6 +147,7 @@ geBtn.Width = geBtn.GetTextWidth(); devfLayout.AddChidren(sumBtn); sumBtn.X = geBtn.Right; + sumBtn.TextAlignment = TextAlignment.CenterLeft; devfLayout.AddChidren(stateIconBtn); devfLayout.AddChidren(stateTextBtn); devfLayout.AddChidren(lineBtn); -- Gitblit v1.8.0