From e3ad42ffa2fa67c8f6cb4519ca626fa275c8947d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期三, 02 十二月 2020 16:34:40 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/CJL-NEW' --- 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