From 30b5770f56f99c1f92e933ad31cf7d2af58b033c Mon Sep 17 00:00:00 2001
From: wei <kaede@kaededeMacBook-Air.local>
Date: 星期三, 02 十二月 2020 16:31:48 +0800
Subject: [PATCH] 20201202

---
 HDL_ON/UI/UI0-Public/Widget/ConfirmDialog.cs |   18 ++++++++++--------
 1 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/HDL_ON/UI/UI0-Public/Widget/ConfirmDialog.cs b/HDL_ON/UI/UI0-Public/Widget/ConfirmDialog.cs
index 865e6dc..40f7b1d 100644
--- a/HDL_ON/UI/UI0-Public/Widget/ConfirmDialog.cs
+++ b/HDL_ON/UI/UI0-Public/Widget/ConfirmDialog.cs
@@ -6,7 +6,7 @@
 {
     /// <summary>
     /// 閫氱敤浜屾纭鐣岄潰
-    /// 鍙互鑷畾涔夋寜閽枃瀛�
+    /// 鍙互鑷畾涔夋寜閽枃瀛椼�佹彁绀哄唴瀹规敮鎸佸琛屾樉绀�
     /// </summary>
     public class ConfirmDialog : Dialog
     {
@@ -15,7 +15,7 @@
         /// </summary>
         public ConfirmDialog()
         {
-           
+
         }
 
         /// <summary>
@@ -45,8 +45,8 @@
 
             Button btnTitle = new Button()
             {
-                Y = Application.GetRealHeight(16),
-                Height = Application.GetRealHeight(30),
+                Y = Application.GetRealHeight(20),
+                Height = Application.GetRealHeight(22),
                 TextColor = CSS_Color.MainColor,
                 TextSize = CSS_FontSize.SubheadingFontSize,
                 TextAlignment = TextAlignment.Center,
@@ -55,16 +55,18 @@
             };
             contentView.AddChidren(btnTitle);
 
+            //鎻愮ず鍐呭鎸夐挳
             Button btnMsg = new Button()
             {
-                Gravity = Gravity.CenterHorizontal,
-                Height = Application.GetRealHeight(25),
-                Y = btnTitle.Bottom,
-                Width = Application.GetRealHeight(200),
+                Y = btnTitle.Bottom + Application.GetRealHeight(4),
+                X = Application.GetRealWidth(6),
+                Height = Application.GetRealHeight(46),
+                Width = Application.GetRealWidth(258),
                 TextAlignment = TextAlignment.Center,
                 TextColor = CSS_Color.TextualColor,
                 TextSize = CSS_FontSize.PromptFontSize_FirstLevel,
                 Text = msgStr,
+                IsMoreLines = true,
             };
             contentView.AddChidren(btnMsg);
 

--
Gitblit v1.8.0