From b271bcceb1c4e718377ca86b6213816abcf7482a Mon Sep 17 00:00:00 2001 From: wei <kaede@kaededeMacBook-Air.local> Date: 星期一, 11 一月 2021 13:57:18 +0800 Subject: [PATCH] 20210111-删除功能类别,统一使用spk去设备功能 --- HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs b/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs index c3c51ef..a2014d0 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Light/ColorTureLampPage.cs @@ -303,10 +303,10 @@ btnSwitch = new Button() { - X = Application.GetRealWidth(184), - Y = Application.GetRealHeight(462), - Width = Application.GetRealWidth(40), - Height = Application.GetRealWidth(40), + X = Application.GetRealWidth(180), + Y = Application.GetRealHeight(466), + Width = Application.GetRealWidth(32), + Height = Application.GetRealWidth(32), UnSelectedImagePath = "Public/PowerClose.png", SelectedImagePath = "Public/PowerOpen.png", IsSelected = light.trait_on_off.curValue.ToString() == "on", @@ -315,10 +315,10 @@ //鑹叉俯鐨勫揩鎹锋柟寮忓浘鏍� btnShortcut = new Button(); - btnShortcut.X = Application.GetRealWidth(104); + btnShortcut.X = Application.GetRealWidth(116); btnShortcut.Y = btnSwitch.Y; - btnShortcut.Width = Application.GetRealWidth(36); - btnShortcut.Height = Application.GetRealWidth(36); + btnShortcut.Width = Application.GetRealWidth(32); + btnShortcut.Height = Application.GetRealWidth(32); btnShortcut.UnSelectedImagePath = "FunctionIcon/Light/CozyIconOn.png"; controlView.AddChidren(btnShortcut); btnShortcut.MouseUpEventHandler += (sender, e) => -- Gitblit v1.8.0