From fc5b60d9fb2a36f2a06c885c17ae6f8e35e9120f Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 07 六月 2021 15:26:56 +0800 Subject: [PATCH] 5月迭代,6月发布的版本 --- HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 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..109b77c 100644 --- a/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs +++ b/HDL_ON/UI/UI2/4-PersonalCenter/PirDevice/View/PirView.cs @@ -38,7 +38,7 @@ { Y = Application.GetRealHeight(16), X = Application.GetRealWidth(72), - Width = Application.GetRealWidth(120), + Width = Application.GetRealWidth(120+80), Height = Application.GetRealHeight(20), //Text = pirDevice.name, TextAlignment = TextAlignment.CenterLeft, @@ -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