陈嘉乐
2020-07-10 48ba446936b51fffafa7c3600c0dadc6ac0e8c20
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;
        }
@@ -75,7 +75,7 @@
        /// </summary>
        public void InitControl()
        {
            this.AddChidren(btnIcon, ChidrenBindMode.BindEventOnly);
            this.AddChidren(btnIcon, ChidrenBindMode.BindEvent);
        }
    }
}