From 38ee59a8404c1fa9385649f9690c8d671a5d95de Mon Sep 17 00:00:00 2001
From: mac <user@users-MacBook-Pro.local>
Date: 星期四, 31 八月 2023 19:00:22 +0800
Subject: [PATCH] 2023年08月31日19:00:14
---
HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ImageFramlayout.cs | 13 ++++++-------
1 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ImageFramlayout.cs b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ImageFramlayout.cs
index 848fc15..ad1caf0 100644
--- a/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ImageFramlayout.cs
+++ b/HDL_ON/UI/UI2/FuntionControlView/Aks/CommonView/ImageFramlayout.cs
@@ -17,13 +17,11 @@
this.BackgroundColor = 0x00000000;
}
- public Button btnImage = new Button
+ public ImageView btnImage = new ImageView
{
Height = Application.GetRealHeight(140),
Width = Application.GetRealWidth(109),
Radius = (uint)Application.GetRealHeight(12),
- //UnSelectedImagePath = "Collection/CollectionGrayIcon.png",
- BackgroundColor=0xff765876,
};
public Button btnScore = new Button
@@ -36,6 +34,7 @@
TextColor = MusicColor.WhiteColor,
TextSize = TextSize.Text16,
TextAlignment = TextAlignment.CenterRight,
+ IsBold=true,
};
public Button btnName = new Button
@@ -45,8 +44,8 @@
Height = Application.GetRealHeight(20),
TextSize = TextSize.Text14,
TextColor = MusicColor.TextColor,
- TextAlignment = TextAlignment.Center,
- Padding = new Padding(0, 4, 0, 4),
+ TextAlignment = TextAlignment.CenterLeft,
+ Padding = new Padding(0, 0, 0, 0),
IsMoreLines = true,
};
@@ -68,7 +67,7 @@
{
EventHandler<MouseEventArgs> UpClick = (sender, e) =>
{
- this.BackgroundColor = 0x00000000;
+ //this.BackgroundColor = 0x00000000;
//寮硅捣鏉ヨ繕鍘熻儗鏅鑹�
};
@@ -90,7 +89,7 @@
EventHandler<MouseEventArgs> DownClick = (sender, e) =>
{
//鎸変笅鍘绘敼鍙樿儗鏅鑹�
- this.BackgroundColor = 0xff454635;
+ //this.BackgroundColor = 0xff454635;
action?.Invoke(this);
};
this.MouseUpEventHandler += DownClick;
--
Gitblit v1.8.0