WJC
2019-12-30 f1c3921b08bb22ac6f5db22d620e01d7e8e5c49f
ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Controls/CompoundControls/TopRightMenuControl.cs
@@ -39,7 +39,7 @@
        /// <summary>
        /// 做成一个存在于右上角的菜单控件
        /// </summary>
        /// <param name="i_RowCount">一共有几行</param>
        /// <param name="i_RowCount">一共有几行(不含标题)</param>
        /// <param name="i_width">这个菜单有多宽</param>
        /// <param name="titleText">标题文本(如果不为空,菜单模式变更为拥有标题的模式)</param>
        public TopRightMenuControl(int i_RowCount, int i_width = 395, string titleText = null)
@@ -66,15 +66,20 @@
            //最大显示5个
            int rowCount = this.RowCount > 5 ? 5 : this.RowCount;
            if (rowCount < 5 && titleText != null)
            {
                //菜单+1
                rowCount++;
            }
            //桌布
            var frameTable = new FrameLayoutControl(false);
            var frameTable = new FrameLayout();
            frameTable.X = Application.GetRealWidth(662 - (RowWidth - 395));
            frameTable.Y = Application.GetRealHeight(158 + 15 + 1);
            frameTable.Width = Application.GetRealWidth(RowWidth);
            frameTable.Height = Application.GetRealHeight(RowHeight * rowCount);
            frameTable.BackgroundColor = UserCenterColor.Current.White;
            frameTable.BorderColor = UserCenterColor.Current.Transparent;
            frameTable.RadiusEx = 6;
            frameTable.Radius = 6;
            this.AddChidren(frameTable);
            if (titleText != null)