HDL Home App 第二版本 旧平台金堂用 正在使用
黄学彪
2020-03-23 cc0d80c7d86c6d0167269b3408c4b30c24ce84e9
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/NormalControls/MostRightIconControl.cs
@@ -39,6 +39,14 @@
        }
        /// <summary>
        /// X轴的真实偏移量(请确保已经加入父控件)
        /// </summary>
        public int XOffset
        {
            get { return (this.Width - btnIcon.Width) / 2; }
        }
        /// <summary>
        /// 做成放在画面右边的的图标控件(注意,它不能用来做【向右】的图标)
        /// </summary>
        /// <param name="i_width">控件空度</param>
@@ -46,7 +54,7 @@
        public MostRightIconControl(int i_width, int i_height)
        {
            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;