From 38ab16c66df6fc523f2c385fd583a2f2e86a781c Mon Sep 17 00:00:00 2001 From: 陈嘉乐 <cjl@hdlchina.com.cn> Date: 星期三, 29 四月 2020 17:58:45 +0800 Subject: [PATCH] 2020-4-29-1 --- ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs index 72b2353..d5b2cbd 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/Member/MemberListForm.cs @@ -105,9 +105,9 @@ //鐢ㄦ埛鍥炬爣 var btnUserIcon = new ImageView(); - btnUserIcon.Height = Application.GetMinRealAverage(207); - btnUserIcon.Width = Application.GetMinRealAverage(207); - btnUserIcon.Radius = (uint)Application.GetMinRealAverage(207) / 2; + btnUserIcon.Height = this.GetPictrueRealSize(207); + btnUserIcon.Width = this.GetPictrueRealSize(207); + btnUserIcon.Radius = (uint)this.GetPictrueRealSize(207) / 2; btnUserIcon.ImagePath = UserCenterResourse.UserInfo.UserIconFile; btnUserIcon.Y = Application.GetRealHeight(46); btnUserIcon.Gravity = Gravity.CenterHorizontal; @@ -285,9 +285,9 @@ var btnIcon = new ImageView(); btnIcon.X = ControlCommonResourse.XXLeft; btnIcon.Gravity = Gravity.CenterVertical; - btnIcon.Height = Application.GetMinRealAverage(115); - btnIcon.Width = Application.GetMinRealAverage(115); - btnIcon.Radius = (uint)Application.GetMinRealAverage(115) / 2; + btnIcon.Height = this.GetPictrueRealSize(115); + btnIcon.Width = this.GetPictrueRealSize(115); + btnIcon.Radius = (uint)this.GetPictrueRealSize(115) / 2; if (System.IO.File.Exists(iconPath) == true) { btnIcon.ImagePath = iconPath; -- Gitblit v1.8.0