From d1ab259186e2341a0839c87300065e9bb5f14e9c Mon Sep 17 00:00:00 2001 From: gxc <guoxuecheng@guoxuechengdeMacBook-Pro.local> Date: 星期二, 12 十一月 2019 10:42:14 +0800 Subject: [PATCH] 2019.11.12 --- ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs b/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs old mode 100755 new mode 100644 index 8448127..a18180f --- a/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs +++ b/ZigbeeApp/Shared/Phone/Device/CommonForm/TopFrameLayout.cs @@ -33,7 +33,7 @@ public TopFrameLayout() { BackgroundColor = ZigbeeColor.Current.GXCTopViewBackgroundColor; - Width = Application.GetRealWidth(CommonPage.AppRealWidth); + Width = Application.GetRealWidth(CommonFormResouce.AppRealWidth); Height = Application.GetRealHeight(CommonFormResouce.TopFrameLayout_Height); } @@ -110,11 +110,12 @@ { topTitle = new Button { + X=Application.GetRealWidth(164), Height = Application.GetRealHeight(CommonFormResouce.TopFrameLayout_Height - CommonFormResouce.TopStatuFrameLayout_Height), Width = Application.GetRealWidth(CommonFormResouce.TopTitle_Width), TextSize = CommonFormResouce.TopTitle_TextSize, TextColor = ZigbeeColor.Current.GXCTitleBlackTitle, - Gravity = Gravity.CenterHorizontal, + TextAlignment=TextAlignment.CenterLeft }; topView.AddChidren(topTitle); } -- Gitblit v1.8.0