黄学彪
2020-04-28 e22fdb94322e6cec38e5e4a9aec13d431a133fde
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/MostRightIconControl.cs
@@ -7,7 +7,7 @@
    /// <summary>
    /// 做成放在画面右边的的图标控件(注意,它不能用来做【向右】的图标)
    /// </summary>
    public class MostRightIconControl : FrameLayoutControl
    public class MostRightIconControl : FrameLayoutStatuControl
    {
        /// <summary>
        /// 图标控件(迫不得己,这个东西开放出去)
@@ -55,16 +55,16 @@
        {
            this.UseClickStatu = false;
            this.Width = Application.GetMinRealAverage(110);
            this.Width = this.GetPictrueRealSize(110);
            this.Height = this.Parent != null ? this.Parent.Height : ControlCommonResourse.ListViewRowHeight;
            this.Gravity = Gravity.CenterVertical;
            var XX = Application.CurrentWidth - Application.GetMinRealAverage(i_width) - ControlCommonResourse.XXLeft;
            this.X = XX - Application.GetMinRealAverage((110 - i_width) / 2);
            var XX = Application.CurrentWidth - this.GetPictrueRealSize(i_width) - ControlCommonResourse.XXLeft;
            this.X = XX - this.GetPictrueRealSize((110 - i_width) / 2);
            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;
        }