From 64390bc739286477167e186f1f2b40a27a73a9a5 Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期二, 02 三月 2021 17:31:01 +0800 Subject: [PATCH] 20210302-1 --- HDL_ON/UI/UI0-Stan/Controls/BottomControls/BottomDialogCommon.cs | 5 +++-- 1 files changed, 3 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 6794a47..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); @@ -106,6 +105,8 @@ btnConfirm.TextSize = CSS_FontSize.TextFontSize; frameWhiteBack.AddChidren(btnConfirm); + FrameDialog.Show(); + return frameWhiteBack; } -- Gitblit v1.8.0