From 1fa13087ee7be5502e2e42cbd07cf185cbc69a9c Mon Sep 17 00:00:00 2001 From: wxr <464027401@qq.com> Date: 星期四, 12 十月 2023 13:57:23 +0800 Subject: [PATCH] Merge branch 'wxr-2.1' into wxr-2.2 --- HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeSingleFramLayout.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeSingleFramLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeSingleFramLayout.cs index c357a73..e5b2b5c 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeSingleFramLayout.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeSingleFramLayout.cs @@ -8,7 +8,7 @@ { private uint UpBackgroundColor = MusicColor.ViewColor; - private uint DownBackgroundColor = 0xff454635; + private uint DownBackgroundColor = 0xFFEFEFEF; /// <summary> /// 鍗曚釜绫诲瀷瀹瑰櫒 /// </summary> @@ -42,6 +42,7 @@ TextAlignment = TextAlignment.Center, Gravity = Gravity.CenterVertical, IsMoreLines = true, + Padding=new Padding(0,0,0,0), Name = "btnName", }; @@ -87,7 +88,7 @@ { EventHandler<MouseEventArgs> UpClick = (sender, e) => { - singleFramLayout.BackgroundColor = this.UpBackgroundColor; + //singleFramLayout.BackgroundColor = this.UpBackgroundColor; //寮硅捣鏉ヨ繕鍘熻儗鏅鑹� }; @@ -99,7 +100,7 @@ EventHandler<MouseEventArgs> DownClick = (sender, e) => { //鎸変笅鍘绘敼鍙樿儗鏅鑹� - singleFramLayout.BackgroundColor = this.DownBackgroundColor; + //singleFramLayout.BackgroundColor = this.DownBackgroundColor; action?.Invoke(singleFramLayout); }; singleFramLayout.MouseDownEventHandler += DownClick; -- Gitblit v1.8.0