From cda2410f9c29f2fadc16e9de38ccae95b75a89dd Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期三, 09 六月 2021 10:51:13 +0800 Subject: [PATCH] 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 old mode 100755 new mode 100644 index e1c2277..02c68a4 --- 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