From 3fcb73db484d2bed5ee993702913a7eaea68068c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 18 八月 2023 18:01:23 +0800 Subject: [PATCH] 2.1.2 --- HDL_ON/UI/UI2/FuntionControlView/Light/ColorfulSettingPage.cs | 31 +++++++++++++++++++------------ 1 files changed, 19 insertions(+), 12 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/ColorfulSettingPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/ColorfulSettingPage.cs index 3775e43..bb89eec 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Light/ColorfulSettingPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Light/ColorfulSettingPage.cs @@ -313,21 +313,28 @@ contentView.AddChidren(new Button() { - Height = Application.GetRealHeight(30) + Height = Application.GetRealHeight(12) }); - - var btnSelectColorTip = new Button() + if (isSatrtColor) { - Height = Application.GetRealWidth(35), - Width = Application.GetRealWidth(300), - TextAlignment = TextAlignment.CenterLeft, - TextSize = 12, - TextColor = 0x21000000, - Text = "鎻愮ず锛氳捣濮嬮鑹查�夋嫨瓒婇潬杩戣壊鐜竟缂橈紝鐐僵鏁堟灉瓒婃槑鏄俱�傝秺闈犺繎鐧借壊涓績锛岀偒褰╂晥鏋滆秺涓嶆槑鏄俱��", - IsMoreLines = true, - }; - contentView.AddChidren(btnSelectColorTip); + var btnSelectColorTip = new Button() + { + X = Application.GetRealWidth(16), + Height = Application.GetRealWidth(35), + Width = Application.GetRealWidth(300), + TextAlignment = TextAlignment.CenterLeft, + TextSize = 12, + TextColor = 0x21000000, + TextID = StringId.ColorfulSetTip,// = "鎻愮ず锛氳捣濮嬮鑹查�夋嫨瓒婇潬杩戣壊鐜竟缂橈紝鐐僵鏁堟灉瓒婃槑鏄俱�傝秺闈犺繎鐧借壊涓績锛岀偒褰╂晥鏋滆秺涓嶆槑鏄俱��", + IsMoreLines = true, + }; + contentView.AddChidren(btnSelectColorTip); + contentView.AddChidren(new Button() + { + Height = Application.GetRealHeight(12) + }); + } #region 淇濆瓨 var btnConfrim = new Button() { -- Gitblit v1.8.0