From 681e990f8c3e51672ad1e37440f35d960f9f56c1 Mon Sep 17 00:00:00 2001 From: wjc <1243177876@qq.com> Date: 星期三, 07 十二月 2022 10:40:58 +0800 Subject: [PATCH] 2022年12月07日10:39:43 --- HDL_ON/UI/UI0-Public/TopViewDiv.cs | 14 +++++++++----- 1 files changed, 9 insertions(+), 5 deletions(-) diff --git a/HDL_ON/UI/UI0-Public/TopViewDiv.cs b/HDL_ON/UI/UI0-Public/TopViewDiv.cs index 63e8ba3..7951076 100644 --- a/HDL_ON/UI/UI0-Public/TopViewDiv.cs +++ b/HDL_ON/UI/UI0-Public/TopViewDiv.cs @@ -169,11 +169,15 @@ var btnSetting = new Button() { - X = Application.GetRealWidth(337), - Y = Application.GetRealHeight(29), - Width = Application.GetMinRealAverage(28), - Height = Application.GetMinRealAverage(28), - UnSelectedImagePath = "FunctionIcon/Light/LightScene/SetLightSceneIcon.png", + X = Application.GetRealWidth(337-37), + Y = Application.GetRealHeight(20), + Width = Application.GetMinRealAverage(28+37), + Height = Application.GetMinRealAverage(28+19), + TextID = StringId.CombinedDimming, + TextSize = CSS_FontSize.TextFontSize, + TextColor = CSS_Color.MainColor, + IsMoreLines = true + //UnSelectedImagePath = "FunctionIcon/Light/LightScene/SetLightSceneIcon.png", }; contentView.AddChidren(btnSetting); -- Gitblit v1.8.0