From d72ca686a3e262693f8a6e45e747e8e8da43335b Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期二, 06 七月 2021 09:39:03 +0800 Subject: [PATCH] 2021-07-06 1.更新 --- HDL_ON/UI/UI0-Stan/Controls/BottomControls/BottomDialogCommon.cs | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/HDL_ON/UI/UI0-Stan/Controls/BottomControls/BottomDialogCommon.cs b/HDL_ON/UI/UI0-Stan/Controls/BottomControls/BottomDialogCommon.cs index e1c2277..02c68a4 100644 --- a/HDL_ON/UI/UI0-Stan/Controls/BottomControls/BottomDialogCommon.cs +++ b/HDL_ON/UI/UI0-Stan/Controls/BottomControls/BottomDialogCommon.cs @@ -57,7 +57,6 @@ var dialogBody = new NormalFrameLayout(); FrameDialog.AddChidren(dialogBody); - FrameDialog.Show(); dialogBody.ButtonClickEvent += (sender, e) => { if (ClickBackClose == true && this.btnCancel != null) @@ -69,7 +68,7 @@ //鐧借壊鑳屾櫙 var frameWhiteBack = new NormalFrameLayout(); frameWhiteBack.Width = Application.GetRealWidth(343); - frameWhiteBack.Height = RowHeight * (RowCount + 1); + frameWhiteBack.Height = RowHeight * (RowCount + 1); frameWhiteBack.Radius = (uint)Application.GetRealWidth(12); frameWhiteBack.Gravity = Gravity.CenterHorizontal; frameWhiteBack.Y = dialogBody.Height - RowHeight * (RowCount + 1) - Application.GetRealHeight(20); @@ -82,6 +81,7 @@ btnCancel.Y = Application.GetRealHeight(2); btnCancel.TextColor = CSS_Color.PromptingColor1; btnCancel.TextID = StringId.Cancel; + btnCancel.TextSize = CSS_FontSize.TextFontSize; frameWhiteBack.AddChidren(btnCancel); //鏍囬 @@ -102,8 +102,11 @@ btnConfirm.TextAlignment = TextAlignment.CenterRight; btnConfirm.TextColor = CSS_Color.MainColor; btnConfirm.TextID = StringId.Confirm; + btnConfirm.TextSize = CSS_FontSize.TextFontSize; frameWhiteBack.AddChidren(btnConfirm); + FrameDialog.Show(); + return frameWhiteBack; } -- Gitblit v1.8.0