wxr
2023-06-30 95abe9c68247fb8213871a59be4b0f33830dc188
HDL_ON/UI/UI0-Public/TopViewDiv.cs
@@ -225,6 +225,8 @@
            };
        }
        /// <summary>
        /// 房间标题区域
        /// </summary>
@@ -261,17 +263,17 @@
        /// <param name="room"></param>
        /// <param name="skipAction"></param>
        /// <param name="text"></param>
        public void LoadTopView_SettingText(Action skipAction,string text)
        public void LoadTopView_SettingText(Action skipAction,string text,bool isDelColor = false)
        {
            LoadTopView();
            
            var btnSetting = new Button()
            {
                X = Application.GetRealWidth(337-100),
                X = Application.GetRealWidth(355-100),
                Y = Application.GetRealHeight(29),
                Width = Application.GetMinRealAverage(100),
                Height = Application.GetMinRealAverage(28),
                TextColor = CSS_Color.MainColor,
                TextColor = isDelColor ?CSS_Color.WarningColor: CSS_Color.MainColor,
                TextSize = CSS_FontSize.TextFontSize,
                TextAlignment = TextAlignment.CenterRight,
                Text = text,