wxr
2021-06-09 5bfb959c47017825c8cf7dc8570c55b04dab694c
HDL_ON/UI/UI0-Public/Widget/EmptyTipView.cs
@@ -23,28 +23,24 @@
        /// <summary>
        /// 
        /// </summary>
        public EmptyTipView(string tipMsg ="",int btnTipNotY=0)
        public EmptyTipView(string tipMsg ="")
        {
            if(tipMsg == "")
            {
                tipMsg = Language.StringByID(StringId.ContentIsEmpty);
            }
            int tipHeight = Application.GetRealWidth(180 + btnTipNotY);
            int tipHeight = Application.GetRealWidth(180);
            this.Height = tipHeight + Application.GetRealHeight(17 );
            BtnTipNot = new Button()
            {
                Gravity = Gravity.CenterHorizontal,
                Width = Application.GetRealWidth(180),
                Height = Application.GetRealWidth(180),
                Width = tipHeight,
                Height = tipHeight,
                UnSelectedImagePath = "TipNot.png",
            };
            this.AddChidren(BtnTipNot);
            if(btnTipNotY!=0)
            {
                BtnTipNot.Y = Application.GetRealHeight(btnTipNotY);
            }
            //空空如也
            Button btnTipNotText = new Button()