陈嘉乐
2020-04-28 3272ca5b51e19f7f8a827b0f68400570a547fe60
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/MostRightIconControl.cs
@@ -39,14 +39,24 @@
        }
        /// <summary>
        /// X轴的真实偏移量(请确保已经调用InitControl初始化函数,用法:蓝湖上的X轴,减掉这个值即可)
        /// </summary>
        public int XOffset
        {
            get { return (this.Width - btnIcon.Width) / 2; }
        }
        /// <summary>
        /// 做成放在画面右边的的图标控件(注意,它不能用来做【向右】的图标)
        /// </summary>
        /// <param name="i_width">控件空度</param>
        /// <param name="i_height">控件高度</param>
        public MostRightIconControl(int i_width, int i_height)
        {
            this.UseClickStatu = false;
            this.Width = Application.GetMinRealAverage(110);
            this.Height = Application.GetMinRealAverage(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;