From 84115d8b6b58b4fcb7251811cb564eb5d2aa850d Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期五, 04 十一月 2022 11:55:48 +0800 Subject: [PATCH] 组合调光 --- 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..8fcc613 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(10), + Width = Application.GetMinRealAverage(28+37), + Height = Application.GetMinRealAverage(28+19), + Text = "缁勫悎璋冨厜", + TextSize = CSS_FontSize.TextFontSize, + TextColor = CSS_Color.MainColor, + IsMoreLines = true + //UnSelectedImagePath = "FunctionIcon/Light/LightScene/SetLightSceneIcon.png", }; contentView.AddChidren(btnSetting); -- Gitblit v1.8.0