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/CommonBase/Controls/NormalControls/IconBigViewControl.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconBigViewControl.cs b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconBigViewControl.cs index cec8d6f..c63d817 100755 --- a/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconBigViewControl.cs +++ b/ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/IconBigViewControl.cs @@ -7,7 +7,7 @@ /// <summary> /// 鍋氭垚涓�涓姞澶х偣鍑诲尯鍩熺殑鍥炬爣鎺т欢 /// </summary> - public class IconBigViewControl : FrameLayoutControl + public class IconBigViewControl : FrameLayoutStatuControl { /// <summary> /// 鍥炬爣鎺т欢(杩笉寰楀繁锛岃繖涓笢瑗垮紑鏀惧嚭鍘�) @@ -61,12 +61,12 @@ /// <param name="i_height">鎺т欢楂樺害</param> public IconBigViewControl(int i_width, int i_height) { - this.Width = Application.GetMinRealAverage(110); - this.Height = Application.GetMinRealAverage(110); + this.Width = this.GetPictrueRealSize(110); + this.Height = this.GetPictrueRealSize(110); this.btnIcon = new IconControlCommon(); - btnIcon.Width = Application.GetMinRealAverage(i_width); - btnIcon.Height = Application.GetMinRealAverage(i_height); + btnIcon.Width = this.GetPictrueRealSize(i_width); + btnIcon.Height = this.GetPictrueRealSize(i_height); btnIcon.Gravity = Gravity.Center; } -- Gitblit v1.8.0