From e209b6a3cebceb656d60d0724f55c6690ec39129 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 12 十月 2023 13:09:44 +0800 Subject: [PATCH] 2023年10月12日13:09:30 --- HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs index ea76914..174f53b 100644 --- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs +++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/TypeMultiFramLayout.cs @@ -6,8 +6,8 @@ public class TypeMultiFramLayout { - private uint UpBackgroundColor = 0x00000000; - private uint DownBackgroundColor = 0xff454635; + private uint UpBackgroundColor = MusicColor.ViewColor; + private uint DownBackgroundColor = 0xFFEFEFEF; /// <summary> /// 澶氫釜绫诲瀷瀹瑰櫒 @@ -95,6 +95,7 @@ TextColor = MusicColor.TextColor, TextAlignment = TextAlignment.CenterRight, Gravity = Gravity.CenterVertical, + Padding=new Padding(0,0,0,0), IsMoreLines = true, }; @@ -135,7 +136,7 @@ { EventHandler<MouseEventArgs> UpClick = (sender, e) => { - leftFramLayout.BackgroundColor = this.UpBackgroundColor; + //leftFramLayout.BackgroundColor = this.UpBackgroundColor; //寮硅捣鏉ヨ繕鍘熻儗鏅鑹� }; @@ -147,7 +148,7 @@ EventHandler<MouseEventArgs> DownClick = (sender, e) => { //鎸変笅鍘绘敼鍙樿儗鏅鑹� - leftFramLayout.BackgroundColor = this.DownBackgroundColor; + //leftFramLayout.BackgroundColor = this.DownBackgroundColor; action?.Invoke(leftFramLayout); }; leftFramLayout.MouseDownEventHandler += DownClick; @@ -163,7 +164,7 @@ { EventHandler<MouseEventArgs> UpClick = (sender, e) => { - rightFramLayout.BackgroundColor = this.UpBackgroundColor; + //rightFramLayout.BackgroundColor = this.UpBackgroundColor; //寮硅捣鏉ヨ繕鍘熻儗鏅鑹� }; @@ -175,7 +176,7 @@ EventHandler<MouseEventArgs> DownClick = (sender, e) => { //鎸変笅鍘绘敼鍙樿儗鏅鑹� - rightFramLayout.BackgroundColor = this.DownBackgroundColor; + //rightFramLayout.BackgroundColor = this.DownBackgroundColor; action?.Invoke(rightFramLayout); }; rightFramLayout.MouseDownEventHandler += DownClick; -- Gitblit v1.8.0