黄学彪
2020-04-28 e22fdb94322e6cec38e5e4a9aec13d431a133fde
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;
        }