From 3c44ecc78187fc6ca2e3ec72a294e4740fded7ef Mon Sep 17 00:00:00 2001
From: 黄学彪 <hxb@hdlchina.com.cn>
Date: 星期二, 23 三月 2021 15:34:52 +0800
Subject: [PATCH] 上传个东西
---
HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs b/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs
index 00c0c10..df5777d 100644
--- a/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs
+++ b/HDL_ON/UI/UI2/4-PersonalCenter/MyServerInfoPage.cs
@@ -36,7 +36,7 @@
var serverBtn = new Button()
{
X = Application.GetRealWidth(40),
- Y = imageView.Bottom + Application.GetRealHeight(12),
+ Y = imageView.Bottom + Application.GetRealHeight(12),
Width = Application.GetRealWidth(295),
Height = Application.GetRealHeight(22),
TextAlignment = TextAlignment.CenterLeft,
@@ -93,13 +93,19 @@
IsBold = true
};
bodyView.AddChidren(phoneBtn);
+ if(Language.CurrentLanguage != "Chinese")
+ {
+ phoneBtn.Y = Application.GetRealHeight(566);
+ phoneBtn.Y = callBtn.Bottom;
+ phoneBtn.X = callBtn.X;
+ }
phoneBtn.MouseUpEventHandler += (sender, e) =>
{
PhoneDialer.Open(Constant.SUPPORT_TELEPHONENUMBER);
};
-
- serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + UserInfo.Current.GlobalRegion.regionName;
+
+ serverBtn.Text = Language.StringByID(StringId.CurrentAccountServerOwnership) + OnAppConfig.Instance.GlobalRegion.regionName;
}
}
--
Gitblit v1.8.0