From 388ece21a0c608c2571775137a89ad32ca0cedd8 Mon Sep 17 00:00:00 2001
From: 陈嘉乐 <cjl@hdlchina.com.cn>
Date: 星期一, 11 一月 2021 14:35:23 +0800
Subject: [PATCH] 2021-1-11-2
---
HDL_ON/UI/UI0-Public/Widget/UpdateTipDialog.cs | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/HDL_ON/UI/UI0-Public/Widget/UpdateTipDialog.cs b/HDL_ON/UI/UI0-Public/Widget/UpdateTipDialog.cs
old mode 100755
new mode 100644
index 21d8ff3..5689c26
--- a/HDL_ON/UI/UI0-Public/Widget/UpdateTipDialog.cs
+++ b/HDL_ON/UI/UI0-Public/Widget/UpdateTipDialog.cs
@@ -79,7 +79,7 @@
TextButton btnMes = new TextButton()
{
- Gravity = Gravity.CenterHorizontal,
+ //Gravity = Gravity.CenterHorizontal,
Width = mesView.Width,
//Height = mesView.Height,
Height = Application.GetRealWidth(20),
@@ -93,8 +93,14 @@
mesView.AddChidren(btnMes);
//鍔ㄦ�佽绠楅珮搴�
var needHeight = btnMes.GetMoreLineNeedHeight();
+ if(needHeight < mesView.Height)
+ {
+ needHeight = mesView.Height;
+ }
btnMes.IsMoreLines = true;
btnMes.Height = needHeight;
+ //mesView.AddChidren(btnMes);
+
Button btnLine = new Button()
{
@@ -125,7 +131,7 @@
X = contentView.Width - Width144,
Y = btnLine.Y,
Width = Width144,
- Height = Application.GetRealHeight(44),
+ Height = Application.GetRealHeight(45),
TextAlignment = TextAlignment.Center,
TextSize = CSS_FontSize.SubheadingFontSize,
TextColor = CSS_Color.MainBackgroundColor,
@@ -155,7 +161,7 @@
{
Y = btnLine.Y,
Width = contentView.Width,
- Height = Application.GetRealHeight(44),
+ Height = Application.GetRealHeight(45),
TextAlignment = TextAlignment.Center,
TextSize = CSS_FontSize.SubheadingFontSize,
TextColor = CSS_Color.MainBackgroundColor,
--
Gitblit v1.8.0